WoW:API GetItemInfo: Difference between revisions

Updated return value for itemRarity to include Heirlooms
(→‎Returns: more useful explanation of INVTYPE_* globals)
(Updated return value for itemRarity to include Heirlooms)
Line 20: Line 20:
:;itemName : String - The name of the item.
:;itemName : String - The name of the item.
:;[[itemLink]] : String - The item Link; you will see the clickable Link instead of the string. (String, such as: "|cFFFFFFFF|Hitem:12345:0:0:0|h[Item Name]|h|r")
:;[[itemLink]] : String - The item Link; you will see the clickable Link instead of the string. (String, such as: "|cFFFFFFFF|Hitem:12345:0:0:0|h[Item Name]|h|r")
:;itemRarity : Integer - The [[API TYPE Quality|quality]] of the item.  The value is 0 to 6, which represents Poor to Artifact.
:;itemRarity : Integer - The [[API TYPE Quality|quality]] of the item.  The value is 0 to 7, which represents Poor to Heirloom.
:;itemLevel : Integer - The item level of this item.
:;itemLevel : Integer - The item level of this item.
:;itemMinLevel : Integer - The minimum level required to use the item, 0 meaning no level requirement.
:;itemMinLevel : Integer - The minimum level required to use the item, 0 meaning no level requirement.
Anonymous user