WoW:API GetItemInfo: Difference between revisions

m
itemEquipLoc a separate page now
m (itemEquipLoc a separate page now)
Line 21: Line 21:
:;itemSubType : String - The sub type of the item. Enchanting, Cloth, Sword, etc.
:;itemSubType : String - The sub type of the item. Enchanting, Cloth, Sword, etc.
:;itemStackCount : Integer - How many of the item per stack. ie. 20 for Runecloth, 1 for weapon, 100 for Alterac Ram Hide, etc.
:;itemStackCount : Integer - How many of the item per stack. ie. 20 for Runecloth, 1 for weapon, 100 for Alterac Ram Hide, etc.
:;itemEquipLoc : String - Equip location of the item specified. The string contains the name a global string variable, such as "INVTYPE_HEAD", which contains the localized name of the location.
:;itemEquipLoc : String - Equip [[API TYPE itemEquipLoc|location]] of the item specified. The string contains the name a global string variable, such as "INVTYPE_HEAD", which contains the localized name of the location.
:;itemTexture : String - The name and path for the inventory icon texture for the item.
:;itemTexture : String - The name and path for the inventory icon texture for the item.


Line 36: Line 36:
: All string returns (itemName, itemType, itemSubType, itemEquipLoc(until 1.9)) are localized.
: All string returns (itemName, itemType, itemSubType, itemEquipLoc(until 1.9)) are localized.
: itemString is a subset of an item's link, not the actual link returned from functions like GetContainerItemLink()
: itemString is a subset of an item's link, not the actual link returned from functions like GetContainerItemLink()
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user