Examples of SendMacroList


Examples of com.l2jfrozen.gameserver.network.serverpackets.SendMacroList

    L2Macro[] all = getAllMacroses();

    if(all.length == 0)
    {
      _owner.sendPacket(new SendMacroList(_revision, all.length, null));
    }
    else
    {
      for(L2Macro m : all)
      {
        _owner.sendPacket(new SendMacroList(_revision, all.length, m));
      }
    }

    all = null;
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.SendMacroList

    }
    _revision++;
    L2Macro[] all = getAllMacroses();
    if(all.length == 0)
    {
      player.sendPacket(new SendMacroList(_revision, all.length, null));
    }
    else
    {
      for(L2Macro m : all)
      {
        player.sendPacket(new SendMacroList(_revision, all.length, m));
      }
    }
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.SendMacroList

      macro.id = _macroId++;
      while (_macroses.get(macro.id) != null)
        macro.id = _macroId++;
      _macroses.put(macro.id, macro);
      registerMacroInDb(macro);
      player.sendPacket(new SendMacroList(macro, getAllMacroses().length, 0x01, _macroId, false));
    }
    else
    {
      Macro old = _macroses.put(macro.id, macro);
      if (old != null)
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.SendMacroList

  public void sendUpdate(int type, int _macroId, boolean first)
  {
    Macro[] all = getAllMacroses();
    if(all.length == 0)
    {
      player.sendPacket(new SendMacroList(null, all.length, 0x00, 0, false));
    }
    else
    {
      for(Macro m : all)
      {
        player.sendPacket(new SendMacroList(m, all.length, type, _macroId, first));
      }
    }
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.SendMacroList

  public void sendUpdate() {
    _revision++;
    L2Macro[] all = getAllMacroses();
    if (all.length == 0) {
      _owner.sendPacket(new SendMacroList(_revision, all.length, null));
    } else {
      for (L2Macro m : all) {
        _owner.sendPacket(new SendMacroList(_revision, all.length, m));
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.