Click or drag to resize
ItemInfo Class
Information about the item.
Inheritance Hierarchy
SystemObject
  Styx.WoWInternals.WoWObjectsItemInfo

Namespace: Styx.WoWInternals.WoWObjects
Assembly: Styx (in Styx.dll) Version: 3.0.1160.0 (3.0.1160)
Syntax
C#
public class ItemInfo

The ItemInfo type exposes the following members.

Properties
  NameDescription
Public propertyAllowedClasses
Gets the allowed classes.
Public propertyAllowedRaces
Gets the allowed races.
Public propertyArmorClass
The ArmorClass of this item. eg; 'Cloth', 'Leahter', 'Mail'.
Public propertyArmorDamageModifier
Gets the armor damage modifier.
Public propertyBagFamily
Gets the bag family.
Public propertyBagSlots
The number of bagslots if this item is a bag, otherwise 0.
Public propertyBattlePetsClass
The BattlePet class. e.g. 'Humanoid', 'Dragonkin', 'Elemental'
Public propertyBeginQuestId
The id of the quest this item starts, if any.
Public propertyBond
The bond type of this item. eg; 'BindOnEquip', 'BindOnPickup'.
Public propertyBookTextId
The book text id of this item, used for some dbc crap.
Public propertyBuyPrice
The total amount of copper this item costs from a vendor.
Public propertyCanExpire
Returns true if this ItemInfo object can expire.
Public propertyCanObliterate
Gets a bool that indicates whether this item can be obliterated.
Public propertyCanProspect
Returns true if this ItemInfo object can be prospected.
Public propertyConsumableClass
The consumable class of this item.
Public propertyContainerClass
The ContainerClass of this item. eg; 'Bandage', 'Scroll', 'Flask'.
Public propertyDamageType
Gets the type of the damage.
Public propertyDescription Obsolete.
Gets the description.
Public propertyDisplayInfoId
The DisplayInfoId of this item.
Public propertyDPS
The DPS of this item, if it's a weapon. Else 0.
Public propertyEffects
Public propertyEnhancementClass
The Enhancement class. e.g. 'Finger', 'Cloak', 'Shoulder'
Public propertyEquipSlot
The EquipSlot of this item. eg; 'Head', 'Shoulders', 'Back'.
Public propertyGemClass
The GemClass of this item. eg; 'Red', 'Blue', 'Yellow'.
Public propertyGlyphClass Obsolete.
The GlyphClass of this item. eg; 'Warrior', 'Paladin', 'Hunter'.
Public propertyHasEquipCooldown
Returns true if this ItemInfo object has equip cooldown.
Public propertyIcon
Public propertyId
Gets the id.
Public propertyInternalInfo
Gets the internal info.
Public propertyInventoryType
The InventoryType (Slot) of this item. eg; 'Head', 'Neck', 'Shoulder'.
Public propertyIsAccountBound
Gets a bool that indicates whether this item is account bound or Battle.NET account bound.
Public propertyIsBattleNetAccountBound
Gets a bool that indicates whether this item is Battle.NET account bound.
Public propertyIsCharter
Returns true if this ItemInfo object is a guild charter.
Public propertyIsConjured
Returns true if this ItemInfo object is a conjured item.
Public propertyIsCraftingReagent
Whether or not this item is considered a crafting reagent. (Eg; it can be put in your Reagent bank)
Public propertyIsDisenchantable
Gets a value indicating whether this ItemInfo object is disenchantable.
Public propertyIsEnchantScroll
Returns true if this ItemInfo object is an 'unique-equipped' item.
Public propertyIsGarroshHeirloomWeapon
Gets a bool that indicates whether this item is one of the heirloom 90-100 weapons from Garrosh Hellscream.
Public propertyIsMillable
Returns true if this ItemInfo object is millable.
Public propertyIsOpenable
Gets a bool that indicates whether this item is openable. Note that this does not take locks into account; for that, see IsOpenable.
Public propertyIsPvPItem
Returns true if this ItemInfo object is a pvp item.
Public propertyIsThrownWeapon
Returns true if this ItemInfo object is an thrown weapon.
Public propertyIsTotem
Returns true if this ItemInfo object is a totem.
Public propertyIsTournamentGear
Gets a bool that indicates whether this item is a tournament gear item.
Public propertyIsUniqueEquipped
Gets a bool that indicates whether this item is unique equipped.
Public propertyIsWand
Returns true if this ItemInfo object is a wand.
Public propertyIsWeapon
Gets a value indicating whether this instance is a weapon.
Public propertyIsWrappingPaper
Returns true if this ItemInfo object is wrapping paper.
Public propertyItemAreaId
Gets the item area id.
Public propertyItemClass
The itemclass of this item. eg; 'Weapon', 'Gem', 'Armor', 'Consumable'.
Public propertyItemLink
Gets an item link for this item info.
Public propertyItemMapId
Gets the item map id.
Public propertyItemSetId
Gets the item set id.
Public propertyKeyClass
The KeyClass of this item. None, Key or Lockpick.
Public propertyLevel
The item level of this item.
Public propertyLockID
Gets the lock ID for this item.
Public propertyMaxStackSize
The maximum number of items a stack can contain.
Public propertyMiscClass
The MiscClass of this item. eg; 'Junk', 'Reagent', 'Pet'.
Public propertyName
The full name of this item.
Public propertyProjectileClass
The ProjectileClass of this item. eg; 'Wand', 'Bolt', 'Arrow'.
Public propertyQuality
The Quality of this item. eg; 'Legendary', 'Epic'.
Public propertyQuiverClass
The QuiverClass of this item. eg; 'AmmoPouch'.
Public propertyRandomSuffixId
Gets the random suffix id.
Public propertyReagentClass
The Reagent class. e.g. 'Reagent', 'Keystone'
Public propertyRecipeClass
The RecipeClass of this item. eg; 'Cooking', 'Alchemy', 'First Aid'.
Public propertyRequiredEnchantingLevelToDisenchant
Returns the required Enchanting level needed to disenchant item or null if not [IsDisenchantable].
Public propertyRequiredHonorRank
The required honor rank to use this item.
Public propertyRequiredInscriptionLevelToMill
Returns the required Inscription level needed to mill item or null if item can't be milled.
Public propertyRequiredJewelcraftingLevelToProspect
Returns the required Jewelcrafting level needed to prospect item or null if item can't be prospected.
Public propertyRequiredLevel
The required level to use this item.
Public propertyRequiredReputationFactionId
The required reputation faction id to use this item.
Public propertyRequiredReputationRank
The requred reputation level to use this item.
Public propertyRequiredSkillId
The required skill id to use this item if any, 0 otherwise.
Public propertyRequiredSkillLevel
The required skill level to use this item.
Public propertyRequiredSpellId
The required spellid to use this item.
Public propertyScalingStatDistribution
Gets the scaling stat distribution entry, or null if invalid.
Public propertyScalingStatDistributionID
Gets the scaling stat distribution ID.
Public propertySellPrice
The total amount of copper retrieved by selling this item to a vendor.
Public propertyStats
Gets the stats for this item, including any suffixes/bonuses, but excluding gems/enchants.
Public propertySubClassId
Gets the sub class id.
Public propertyTotemCategory
Gets the totem category.
Public propertyTotemCategoryId
Gets the totem category ID.
Public propertyTradeGoodsClass
The TradeGoodsClass of this item. eg; 'Meat', 'Herb', 'Explosives'.
Public propertyTriggersSpell
Returns true if this ItemInfo triggers a spell.
Public propertyTypeFlags
Gets the type flags.
Public propertyUniqueCount
The maximum number of.
Public propertyWeaponClass
The WeaponClass of this item. eg; 'Bow', 'Gun', 'Mace' etc...
Public propertyWeaponDelay
The Weapon speed in seconds of this weapon.
Public propertyWeaponSpeed
The WeaponDelay in milliseconds of this weapon. eg; '3000' for a staff.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromId
Constructs an ItemInfo instance from an item ID. Returns null if there is no cached information for that item.
Public methodStatic memberFromLink
Constructs an ItemInfo instance from an item link. Returns null if there is no information for that item.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetShownArmorClass
Gets the shown armor class of this item.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
See Also