L2JPREMIUM  5M
com.premium.game.model.itemcontainer.Inventory Class Referenceabstract
Inheritance diagram for com.premium.game.model.itemcontainer.Inventory:
Collaboration diagram for com.premium.game.model.itemcontainer.Inventory:

Classes

class  AmmunationListener
 
class  ArmorSetListener
 
class  ChangeRecorder
 
class  FormalWearListener
 
class  ItemSkillsListener
 
interface  PaperdollListener
 
enum  PaperdollSlots
 
class  StatsListener
 

Public Member Functions

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 restore ()
 
void restoreArmorSetPassiveSkill ()
 
void restoreEquipedItemsPassiveSkill ()
 
synchronized L2ItemInstance setPaperdollItem (int slot, L2ItemInstance item)
 
L2ItemInstance[] unEquipItemInBodySlotAndRecord (int slot)
 
L2ItemInstance unEquipItemInSlot (int pdollSlot)
 
L2ItemInstance[] unEquipItemInSlotAndRecord (int slot)
 
abstract void updateInventory (L2ItemInstance item)
 
- 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)
 

Static Public Member Functions

static int getPaperdollIndex (int slot)
 

Static Public Attributes

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

void addItem (L2ItemInstance item)
 
abstract ItemLocation getEquipLocation ()
 
void refreshWeight ()
 
boolean removeItem (L2ItemInstance item)
 
- Protected Member Functions inherited from com.premium.game.model.itemcontainer.ItemContainer
abstract ItemLocation getBaseLocation ()
 
abstract L2Character getOwner ()
 

Protected Attributes

int _totalWeight
 
- Protected Attributes inherited from com.premium.game.model.itemcontainer.ItemContainer
final List< L2ItemInstance_items
 

Additional Inherited Members

- 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: