WoW:API GetItemInfo: Difference between revisions

m
→‎Details: - As of 3.3.5, this statement is inaccurate. The function returns information for any item in your game's cache.
(→‎Details: this sentence no verb)
m (→‎Details: - As of 3.3.5, this statement is inaccurate. The function returns information for any item in your game's cache.)
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 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