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

Public Member Functions

 NpcInventory (L2Npc owner)
 
L2ItemInstance[] getAllItemsByItemId (int itemId)
 
L2Npc getOwner ()
 
void refreshWeight ()
 
void reset ()
 
void restore ()
 
void updateInventory (L2ItemInstance newItem)
 
- Public Member Functions inherited from com.premium.game.model.itemcontainer.Inventory
synchronized void addPaperdollListener (PaperdollListener listener)
 
L2ItemInstance dropItem (String process, int objectId, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance dropItem (String process, L2ItemInstance item, L2PcInstance actor, L2Object reference)
 
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 ()
 
synchronized L2ItemInstance setPaperdollItem (int slot, L2ItemInstance item)
 
L2ItemInstance[] unEquipItemInBodySlotAndRecord (int slot)
 
L2ItemInstance unEquipItemInSlot (int pdollSlot)
 
L2ItemInstance[] unEquipItemInSlotAndRecord (int slot)
 
- Public Member Functions inherited from com.premium.game.model.itemcontainer.ItemContainer
L2ItemInstance addItem (String process, int itemId, int count, L2PcInstance actor, L2Object reference)
 
L2ItemInstance addItem (String process, L2ItemInstance item, L2PcInstance actor, L2Object reference)
 
L2ItemInstance addWearItem (String process, int itemId, L2PcInstance actor, L2Object reference)
 
void deleteMe ()
 
synchronized void destroyAllItems (String process, L2PcInstance actor, L2Object reference)
 
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)
 
int getAdena ()
 
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 ()
 
L2ItemInstance transferItem (String process, int objectId, int count, ItemContainer target, L2PcInstance actor, L2Object reference)
 
void updateDatabase ()
 
boolean validateCapacity (int slots)
 
boolean validateWeight (int weight)
 

Public Attributes

boolean sshotInUse = false
 
boolean bshotInUse = false
 

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 ()
 
- Protected Member Functions inherited from com.premium.game.model.itemcontainer.Inventory
void addItem (L2ItemInstance item)
 
boolean removeItem (L2ItemInstance item)
 

Additional Inherited Members

- Static Public Member Functions inherited from com.premium.game.model.itemcontainer.Inventory
static int getPaperdollIndex (int slot)
 
- 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: