Package net.sf.l2j.gameserver.model.L2Macro

Examples of net.sf.l2j.gameserver.model.L2Macro.L2MacroCmd


          int d1 = Integer.parseInt(st.nextToken());
          int d2 = Integer.parseInt(st.nextToken());
          String cmd = "";
          if (st.hasMoreTokens())
            cmd = st.nextToken();
          L2MacroCmd mcmd = new L2MacroCmd(commands.size(), type, d1, d2, cmd);
          commands.add(mcmd);
        }

        L2Macro m = new L2Macro(id, icon, name, descr, acronym, commands.toArray(new L2MacroCmd[commands.size()]));
        _macroses.put(m.id, m);
View Full Code Here


            int type       = readC(); // 1 = skill, 3 = action, 4 = shortcut
            int d1         = readD(); // skill or page number for shortcuts
            int d2         = readC();
            String command = readS();
            _commandsLenght += command.length();
      commands[i] = new L2MacroCmd(entry, type, d1, d2, command);
            if (Config.DEBUG) System.out.println("entry:"+entry+"\ttype:"+type+"\td1:"+d1+"\td2:"+d2+"\tcommand:"+command);
        }
    _macro = new L2Macro(_id, _icon, _name, _desc, _acronym, commands);
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.L2Macro.L2MacroCmd

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.