L2JPREMIUM  5M
com.premium.game.model.actor.instance.L2ItemInstance Class Reference
Inheritance diagram for com.premium.game.model.actor.instance.L2ItemInstance:
Collaboration diagram for com.premium.game.model.actor.instance.L2ItemInstance:

Classes

enum  ItemLocation
 
class  ScheduleConsumeManaTask
 

Public Member Functions

 L2ItemInstance (int objectId, int itemId)
 
 L2ItemInstance (int objectId, int itemId, int itemDisplayId)
 
 L2ItemInstance (int objectId, L2Item item)
 
void bind ()
 
boolean canPickup (L2PcInstance player)
 
void changeCount (String process, int count, L2PcInstance creator, L2Object reference)
 
void changeCountWithoutTrace (int count, L2PcInstance creator, L2Object reference)
 
void clearEngravement ()
 
void decreaseMana (boolean resetConsumingMana)
 
final void dropMe (L2Character dropper, int x, int y, int z)
 
void engrave ()
 
L2Armor getArmorItem ()
 
L2Augmentation getAugmentation ()
 
boolean getChargedFishshot ()
 
int getChargedSoulshot ()
 
int getChargedSpiritshot ()
 
int getCount ()
 
boolean getCountDecrease ()
 
final int getCrystalCount ()
 
int getCustomType1 ()
 
int getCustomType2 ()
 
String getData ()
 
final DropProtection getDropProtection ()
 
long getDropTime ()
 
int getEnchantLevel ()
 
int getEngraver ()
 
int getEquipSlot ()
 
L2EtcItem getEtcItem ()
 
final String getFuncOwnerName ()
 
final L2Skill getFuncOwnerSkill ()
 
int getInitCount ()
 
L2Item getItem ()
 
int getItemDisplayId ()
 
int getItemId ()
 
ScheduledFuture<?> getItemLootShedule ()
 
String getItemName ()
 
AbstractL2ItemType getItemType ()
 
int getLastChange ()
 
ItemLocation getLocation ()
 
int getLocationSlot ()
 
int getMana ()
 
int getOwnerId ()
 
int getPDef ()
 
int getPriceToBuy ()
 
int getPriceToSell ()
 
int getReferencePrice ()
 
Func[] getStatFuncs (L2Character player)
 
int getTime ()
 
UpdateMode getUpdateMode (boolean force)
 
L2Weapon getWeaponItem ()
 
void insertIntoDb (Connection con)
 
boolean isArmor ()
 
boolean isAugmented ()
 
boolean isAvailable (L2PcInstance player, boolean allowAdena)
 
boolean isBounded ()
 
boolean isBracelet ()
 
boolean isConsumable ()
 
boolean isCrystalScroll ()
 
boolean isDestroyable ()
 
boolean isDropable ()
 
boolean isEquipable ()
 
boolean isEquipped ()
 
boolean isEtcItem ()
 
boolean isHeroItem ()
 
boolean isNightLure ()
 
boolean isOlyRestrictedItem ()
 
boolean isProtected ()
 
boolean isSellable ()
 
boolean isShadowItem ()
 
boolean isStackable ()
 
boolean isTradeable ()
 
boolean isWeapon ()
 
boolean isWear ()
 
void onAction (L2PcInstance player)
 
final void pickupMe (L2Character player)
 
void removeAugmentation ()
 
void removeFromDb (Connection con)
 
void resetOwnerTimer ()
 
void restoreAttributes ()
 
void restoreInitCount ()
 
boolean setAugmentation (L2Augmentation augmentation)
 
void setChargedFishshot (boolean type)
 
void setChargedSoulshot (int type, boolean isSkill)
 
void setChargedSpiritshot (int type)
 
void setCount (int count)
 
void setCountDecrease (boolean decrease)
 
void setCustomType1 (int newtype)
 
void setCustomType2 (int newtype)
 
void setData (String val)
 
void setDropTime (long time)
 
void setEnchantLevel (int enchantLevel)
 
void setInitCount (int InitCount)
 
void setItemLootShedule (ScheduledFuture<?> sf)
 
void setLastChange (int lastChange)
 
void setLocation (ItemLocation loc)
 
void setLocation (ItemLocation loc, int loc_data)
 
void setMana (int mana)
 
void setOwnerId (String process, int owner_id, L2PcInstance creator, L2Object reference)
 
void setPriceToBuy (int price)
 
void setPriceToSell (int price)
 
void setProtected (boolean is_protected)
 
void setRewardId (int rewarder)
 
void setTime (int time)
 
void setWear (boolean newwear)
 
String toString ()
 
void updateDatabase ()
 
void updateDatabase (boolean force)
 
void updateInDb (Connection con)
 
void updateItemAttributes ()
 
- Public Member Functions inherited from com.premium.game.model.L2Object
void decayMe ()
 
void firstSpawn ()
 
L2PcInstance getActingPlayer ()
 
L2PcInstance getPlayer ()
 
boolean isPlayer ()
 
boolean isItem ()
 
L2Playable getPlayable ()
 
boolean isPlayable ()
 
L2Character getCharacter ()
 
boolean isCharacter ()
 
L2Npc getNpc ()
 
boolean isNpc ()
 
L2Summon getActingSummon ()
 
int getColHeight ()
 
int getColRadius ()
 
int getHeading ()
 
L2GameServerPacket getInfoPacket ()
 
ObjectKnownList getKnownList ()
 
Location getLoc ()
 
final String getName ()
 
final ObjectPoly getPoly ()
 
final ObjectPosition getPosition ()
 
Integer getPrimaryKey ()
 
L2WorldRegion getWorldRegion ()
 
final int getX ()
 
final int getY ()
 
final int getZ ()
 
boolean isAttackable ()
 
boolean isAutoAttackable (L2Character attacker)
 
boolean isInFunEvent ()
 
boolean isInWorld ()
 
final boolean isVisible ()
 
void onActionShift (L2PcInstance player)
 
void onForcedAttack (L2PcInstance player)
 
void onSpawn ()
 
void reset ()
 
void setName (String name)
 
final void setXYZ (int x, int y, int z)
 
final void spawnMe ()
 
final void spawnMe (int x, int y, int z)
 
final void spawnMe (int x, int y, int z, boolean firstspawn)
 
void toggleVisible ()
 
String getL2ClassShortName ()
 

Static Public Member Functions

static L2ItemInstance restoreFromDb (int ownerId, ResultSet rs)
 
- Static Public Member Functions inherited from com.premium.game.model.L2Object
static final L2PcInstance getActingPlayer (L2Object obj)
 
static final L2Summon getActingSummon (L2Object obj)
 

Public Attributes

int engraver
 

Static Public Attributes

static final int CHARGED_NONE = 0
 
static final int CHARGED_SOULSHOT = 1
 
static final int CHARGED_SPIRITSHOT = 1
 
static final int CHARGED_BLESSED_SOULSHOT = 2
 
static final int CHARGED_BLESSED_SPIRITSHOT = 2
 
static final int UNCHANGED = 0
 
static final int ADDED = 1
 
static final int MODIFIED = 2
 
static final int REMOVED = 3
 
- Static Public Attributes inherited from com.premium.game.model.L2Object
static final L2Object[] EMPTY_ARRAY = new L2Object[0]
 

Protected Member Functions

void setOwnerId (int owner_id)
 
- Protected Member Functions inherited from com.premium.game.model.L2Object
 L2Object (int objectId)
 

Static Protected Attributes

static final Logger _log = Logger.getLogger(L2ItemInstance.class.getName())
 

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