Examples of ExResponseCommissionList


Examples of lineage2.gameserver.network.serverpackets.ExResponseCommissionList

  public void showPlayerRegisteredItems(Player player)
  {
    List<CommissionItemInfo> items = CommissionShopDAO.getInstance().getRegisteredItemsFor(player);
    if (items.size() == 0)
    {
      player.sendPacket(new ExResponseCommissionList(ExResponseCommissionList.EMPTY_LIST));
    }
    else
    {
      player.sendPacket(new ExResponseCommissionList(ExResponseCommissionList.PLAYER_REGISTERED_ITEMS, 0, items));
    }
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExResponseCommissionList

    {
      container.readUnlock();
    }
    if ((list.size() == 1) && list.peek().isEmpty())
    {
      player.sendPacket(new ExResponseCommissionList(ExResponseCommissionList.EMPTY_LIST));
      return;
    }
    while (list.size() > 0)
    {
      List<CommissionItemInfo> part = list.poll();
      player.sendPacket(new ExResponseCommissionList(ExResponseCommissionList.ALL_ITEMS, list.size(), part));
    }
  }
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.