Navigation menu

WoW:API GetItemInfo: Difference between revisions

Jump to navigation Jump to search
→‎Details: this sentence no verb
(→‎Details: this sentence no verb)
Line 38: Line 38:


==Details==
==Details==
: This function will '''ONLY''' retrieve data if the item is in your bags or on your character sheet (being worn).
: This function will '''ONLY''' retrieve data if the item is in your bags or on your character sheet (being worn). (This is not entirely correct, see [[Talk:API_GetItemInfo|the discussion page]] for the exact rules.)
: If you have never seen the item that belongs to the Item ID or Item Link it will return ''nil''.
: If you have never seen the item that belongs to the Item ID or Item Link it will return ''nil''.
: All string returns (itemName, itemType, itemSubType) are localized. Prior to 1.9, itemEquipLoc was localized also.
: All string returns (itemName, itemType, itemSubType) are localized. Prior to 1.9, itemEquipLoc was localized also.
: As of Patch 3.2 the 11th returned value is the Vendor Sell Price for that item.
: As of Patch 3.2 the 11th returned value is the Vendor Sell Price for that item.
Anonymous user