Skip to content

ObjectManager » Models » IItem

Namespace: Mayo.Manager.Objects
Namespace: Mayo.Manager.Objects.Interface
Dependencies: IItemIBase


UInt128 OwnerGUID

Returns the GUID of the owner or the bag GUID in which the item is located.
Returns 0 if there is no owner or the owner is unknown.

int StackCount
int EnchantID

Returns the ID of an enchantment.

bool HasEnchant
int EffectID

Returns the ID of a temporary enchantment (poison, lure).

bool HasEffect
bool HasPoison
int DisplayID
int Durability

Returns the current durability of this item.
Returns 0 if there is no durability available (trinkets).

int MaxDurability

Returns maximum durability of this item.
Returns 0 if there is no durability available (trinkets).

UInt128 ContainedInGUID

Returns the GUID of the carrier or the ID of the bag in which the item is located.

bool IsEquipped
string Name
int ItemLevel
Constants.ItemBinding Binding
Constants.EquipType EquipType
Constants.ItemQuality Quality
Constants.ItemClass Class
int ClassID
int SubclassID
bool IsClass(Constants.ItemClass, Enum? ItemSubclass)
int BuyCount

Returns the minimum stack count that can be purchased.

int BuyPrice
int SellPrice
int RequiredLevel
int RequiredFishingSkill

Returns the required fishing skill if this item is a bait or fishing pole.

bool IsBoP

Bind on pickup.

bool IsBoE

Bind on equip.

bool IsBoU

Bind on used.

bool IsQuestItem
bool IsEquipItem

Returns true if the item can be equipped.

bool IsFood
bool IsDrink
bool IsFishingPole