L2JPREMIUM  5M
com.premium.game.model.itemcontainer.PcInventory Class Reference
Inheritance diagram for com.premium.game.model.itemcontainer.PcInventory:
Collaboration diagram for com.premium.game.model.itemcontainer.PcInventory:

Public Member Functions

 PcInventory (L2PcInstance owner)
 
void addAdena (String process, int count, L2PcInstance actor, L2Object reference)
 
void addAncientAdena (String process, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance addItem (String process, int itemId, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance addItem (String process, L2ItemInstance item, L2PcInstance actor, L2Object reference)
 
void adjustAvailableItem (TradeItem item)
 
L2ItemInstance destroyItem (String process, int objectId, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance destroyItem (String process, L2ItemInstance item, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance destroyItem (String process, L2ItemInstance item, L2PcInstance actor, L2Object reference)
 
L2ItemInstance destroyItemByItemId (String process, int itemId, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance dropItem (String process, int objectId, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance dropItem (String process, L2ItemInstance item, L2PcInstance actor, L2Object reference)
 
int getAdena ()
 
L2ItemInstance getAdenaInstance ()
 
L2ItemInstance[] getAllItemsByItemId (int itemId)
 
L2ItemInstance[] getAllItemsByItemId (int itemId, int enchantment)
 
int getAncientAdena ()
 
L2ItemInstance getAncientAdenaInstance ()
 
L2ItemInstance[] getAugmentedItems ()
 
List< L2ItemInstancegetAvailableItems (boolean allowAdena)
 
TradeList.TradeItem[] getAvailableItems (TradeList tradeList)
 
L2PcInstance getOwner ()
 
L2ItemInstance[] getUniqueItems (boolean allowAdena, boolean allowAncientAdena)
 
L2ItemInstance[] getUniqueItems (boolean allowAdena, boolean allowAncientAdena, boolean onlyAvailable)
 
L2ItemInstance[] getUniqueItemsByEnchantLevel (boolean allowAdena, boolean allowAncientAdena)
 
L2ItemInstance[] getUniqueItemsByEnchantLevel (boolean allowAdena, boolean allowAncientAdena, boolean onlyAvailable)
 
void reduceAdena (String process, int count, L2PcInstance actor, L2Object reference)
 
void reduceAncientAdena (String process, int count, L2PcInstance actor, L2Object reference)
 
void refreshWeight ()
 
void restore ()
 
synchronized L2ItemInstance setPaperdollItem (int slot, L2ItemInstance item)
 
L2ItemInstance transferItem (String process, int objectId, int count, ItemContainer target, L2PcInstance actor, L2Object reference)
 
void updateInventory (L2ItemInstance newItem)
 
boolean validateCapacity (int slots)
 
boolean validateCapacity (L2ItemInstance item)
 
boolean validateCapacity (List< L2ItemInstance > items)
 
boolean validateCapacityByItemId (int ItemId)
 
boolean validateWeight (int weight)
 
- Public Member Functions inherited from com.premium.game.model.itemcontainer.Inventory
synchronized void addPaperdollListener (PaperdollListener listener)
 
void equipItem (L2ItemInstance item)
 
L2ItemInstance[] equipItemAndRecord (L2ItemInstance item)
 
L2ItemInstance findArrowForBow (L2Item bow)
 
int getPaperdollAugmentationId (int slot)
 
L2ItemInstance getPaperdollItem (int slot)
 
L2ItemInstance getPaperdollItemByL2ItemId (int slot)
 
int getPaperdollItemDisplayId (int slot)
 
int getPaperdollItemId (int slot)
 
int getPaperdollObjectId (int slot)
 
int getTotalWeight ()
 
int getWearedMask ()
 
ChangeRecorder newRecorder ()
 
void reloadEquippedItems ()
 
synchronized void removePaperdollListener (PaperdollListener listener)
 
void restoreArmorSetPassiveSkill ()
 
void restoreEquipedItemsPassiveSkill ()
 
L2ItemInstance[] unEquipItemInBodySlotAndRecord (int slot)
 
L2ItemInstance unEquipItemInSlot (int pdollSlot)
 
L2ItemInstance[] unEquipItemInSlotAndRecord (int slot)
 
- Public Member Functions inherited from com.premium.game.model.itemcontainer.ItemContainer
L2ItemInstance addWearItem (String process, int itemId, L2PcInstance actor, L2Object reference)
 
void deleteMe ()
 
synchronized void destroyAllItems (String process, L2PcInstance actor, L2Object reference)
 
int getInventoryItemCount (int itemId, int enchantLevel)
 
L2ItemInstance getItemByItemId (int itemId)
 
L2ItemInstance getItemByItemId (int itemId, L2ItemInstance itemToIgnore)
 
L2ItemInstance getItemByObjectId (int objectId)
 
L2ItemInstance[] getItems ()
 
List< L2ItemInstancegetItemsByItemId (int itemId)
 
int getOwnerId ()
 
int getSize ()
 
int getUnequippedSize ()
 
void updateDatabase ()
 

Static Public Member Functions

static int[][] restoreVisibleInventory (int objectId)
 
- Static Public Member Functions inherited from com.premium.game.model.itemcontainer.Inventory
static int getPaperdollIndex (int slot)
 

Static Public Attributes

static final int ADENA_ID = 57
 
static final int ANCIENT_ADENA_ID = 5575
 
- Static Public Attributes inherited from com.premium.game.model.itemcontainer.Inventory
static final int PAPERDOLL_UNDER = 0
 
static final int PAPERDOLL_REAR = 1
 
static final int PAPERDOLL_LEAR = 2
 
static final int PAPERDOLL_LREAR = 3
 
static final int PAPERDOLL_NECK = 4
 
static final int PAPERDOLL_LFINGER = 5
 
static final int PAPERDOLL_RFINGER = 6
 
static final int PAPERDOLL_LRFINGER = 7
 
static final int PAPERDOLL_HEAD = 8
 
static final int PAPERDOLL_RHAND = 9
 
static final int PAPERDOLL_LHAND = 10
 
static final int PAPERDOLL_GLOVES = 11
 
static final int PAPERDOLL_CHEST = 12
 
static final int PAPERDOLL_LEGS = 13
 
static final int PAPERDOLL_FEET = 14
 
static final int PAPERDOLL_BACK = 15
 
static final int PAPERDOLL_LRHAND = 16
 
static final int PAPERDOLL_FULLARMOR = 17
 
static final int PAPERDOLL_HAIR = 18
 
static final int PAPERDOLL_ALLDRESS = 19
 
static final int PAPERDOLL_FACE = 20
 
static final int PAPERDOLL_HAIR2 = 20
 
static final int PAPERDOLL_HAIRALL = 21
 
static final int PAPERDOLL_TOTALSLOTS = 22
 
static final double MAX_ARMOR_WEIGHT = 12000
 

Protected Member Functions

ItemLocation getBaseLocation ()
 
ItemLocation getEquipLocation ()
 
boolean removeItem (L2ItemInstance item)
 
- Protected Member Functions inherited from com.premium.game.model.itemcontainer.Inventory
void addItem (L2ItemInstance item)
 

Additional Inherited Members

- Protected Attributes inherited from com.premium.game.model.itemcontainer.Inventory
int _totalWeight
 
- Protected Attributes inherited from com.premium.game.model.itemcontainer.ItemContainer
final List< L2ItemInstance_items
 
- Static Protected Attributes inherited from com.premium.game.model.itemcontainer.ItemContainer
static final Logger _log = Logger.getLogger(ItemContainer.class.getName())
 

The documentation for this class was generated from the following file: