Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.TradeList.addItemByItemId()


      int itemId = _items[i * 4 + 0];
      int count = _items[i * 4 + 1];
      int price = _items[i * 4 + 2];
      int enchant = _items[i * 4 + 3];
     
      tradeList.addItemByItemId(itemId, count, price, enchant);
      cost += count * price;
     
      if (cost > Integer.MAX_VALUE)
      {
        player.sendPacket(new SystemMessage(SystemMessageId.YOU_HAVE_EXCEEDED_QUANTITY_THAT_CAN_BE_INPUTTED));
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.