Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2TradeList.containsItemId()


    {
      int itemId = _items[i * 2 + 0];
      int count  = _items[i * 2 + 1];
      int price = -1;

      if (!list.containsItemId(itemId))
      {
        Util.handleIllegalPlayerAction(player,"Warning!! Character "+player.getName()+" of account "+player.getAccountName()+" sent a false BuyList list_id.",Config.DEFAULT_PUNISH);
        return;
      }

View Full Code Here


    {
      int itemId = _items[i * 2 + 0];
      int count  = _items[i * 2 + 1];
      if (count < 0) count = 0;

      if (!list.containsItemId(itemId))
      {
        Util.handleIllegalPlayerAction(player,"Warning!! Character "+player.getName()+" of account "+player.getAccountName()+" sent a false BuyList list_id.",Config.DEFAULT_PUNISH);
        return;
      }
      if(list.countDecrease(itemId))
View Full Code Here

    for (int i = 0; i < _count; i++)
    {
      int itemId = _items[i];

      if (!list.containsItemId(itemId))
      {
        Util.handleIllegalPlayerAction(player,"Warning!! Character "+player.getName()+" of account "+player.getAccountName()+" sent a false BuyList list_id.",Config.DEFAULT_PUNISH);
        return;
      }
View Full Code Here

    InventoryUpdate playerIU = new InventoryUpdate();
    for (int i=0; i < _count; i++)
    {
      int itemId = _items[i];

      if (!list.containsItemId(itemId))
      {
        Util.handleIllegalPlayerAction(player,"Warning!! Character "+player.getName()+" of account "+player.getAccountName()+" sent a false BuyList list_id.",Config.DEFAULT_PUNISH);
        return;
      }
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.