Package l2p.gameserver.model.L2Macro

Examples of l2p.gameserver.model.L2Macro.L2MacroCmd


            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 entry = readC();
      int type = readC(); // 1 = skill, 3 = action, 4 = shortcut
      int d1 = readD(); // skill or page number for shortcuts
      int d2 = readC();
      String command = readS().replace(";", "").replace(",", "");
      commands[i] = new L2MacroCmd(entry, type, d1, d2, command);
    }
    _macro = new L2Macro(id, icon, name, desc, acronym, commands);
  }
View Full Code Here

TOP

Related Classes of l2p.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.