Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.InventoryUpdate.addItem()


          {
            player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_ADENA);
            return;
          }
          InventoryUpdate iu = new InventoryUpdate();
          iu.addItem(player.addAdena(ancientAdenaConvert));
          iu.addItem(player.getInventory().destroyItemByItemId(SevenSigns.ANCIENT_ADENA_ID, ancientAdenaConvert, true));
          player.sendPacket(iu);
          player.sendPacket(SystemMessage.removeItems(5575, ancientAdenaConvert));
          player.sendPacket(SystemMessage.obtainItems(57, ancientAdenaConvert, 0));
          break;
View Full Code Here


            player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_ADENA);
            return;
          }
          InventoryUpdate iu = new InventoryUpdate();
          iu.addItem(player.addAdena(ancientAdenaConvert));
          iu.addItem(player.getInventory().destroyItemByItemId(SevenSigns.ANCIENT_ADENA_ID, ancientAdenaConvert, true));
          player.sendPacket(iu);
          player.sendPacket(SystemMessage.removeItems(5575, ancientAdenaConvert));
          player.sendPacket(SystemMessage.obtainItems(57, ancientAdenaConvert, 0));
          break;
        case 9: // Receive Contribution Rewards
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.