→Returns
No edit summary |
|||
| Line 12: | Line 12: | ||
=== Returns === | === Returns === | ||
:itemName, itemLink, itemRarity, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc | :itemName, itemLink, itemRarity, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, itemTexture | ||
:;itemName : String - The name of the item. | :;itemName : String - The name of the item. | ||
:;itemLink : String - The item link ie. "item:12345:0:0:0". | :;itemLink : String - The item link ie. "item:12345:0:0:0". | ||
:;itemRarity : Integer - The value is 0 to | :;itemRarity : Integer - The value is 0 to 6, which represents Poor to Artifact. | ||
:;itemMinLeveL : Integer - The minimum level required to use the item, 0 being no level requirement. | :;itemMinLeveL : Integer - The minimum level required to use the item, 0 being no level requirement. | ||
:;itemType : String - The type of the item. Armor, Weapon, Quest, Key, etc. | :;itemType : String - The type of the item. Armor, Weapon, Quest, Key, etc. | ||
:;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 | :;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. | ||
:;itemTexture : String - The name and path for the inventory icon texture for the item. | |||
== Example == | == Example == | ||