Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.ItemList


    }
    removeItem(player, TREASURE_SACK_PIECE, 50);
    int i = Rnd.get(PLACE_TREASURE_SACK.length);
    addItem(player, PLACE_TREASURE_SACK[i], 1);
    player.sendPacket(new SystemMessage(SystemMessage.YOU_HAVE_EARNED_S1).addItemName(i));
    player.sendPacket(new ItemList(player, true));
  }
View Full Code Here


    if(activeChar == null || activeChar.isInventoryDisabled())
    {
      return;
    }
    activeChar.setBuyListId(0);
    activeChar.sendPacket(new ItemList(activeChar, true));
  }
View Full Code Here

      item.setWear(true);
      activeChar.getInventory().addItem(item);
      activeChar.getInventory().equipItem(item, true);
    }
    activeChar.broadcastUserInfo(true);
    sendPacket(new ItemList(activeChar, false), SystemMessage.removeItems(57, neededMoney));
    if(_removeWearItemsTask == null)
    {
      _removeWearItemsTask = ThreadPoolManager.getInstance().scheduleAi(new RemoveWearItemsTask(), 10000, true);
    }
  }
View Full Code Here

            }
            _cha.getInventory().destroyItem(i.getObjectId(), 1, true);
          }
        }
        _cha.broadcastUserInfo(true);
        _cha.sendPacket(Msg.TRYING_ON_MODE_HAS_ENDED, new ItemList(_cha, false));
      }
      catch(Throwable e)
      {
        _log.log(Level.SEVERE, "", e);
      }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.ItemList

Copyright © 2018 www.massapicom. 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.