WoW API: GetInventoryItemID

Revision as of 23:23, 28 March 2010 by WoWWiki>Starlightblunder (Created page with '{{wowapi}} Returns the item id of the item in the specified inventory slot itemId = GetInventoryItemID(invSlot); == Arguments == ; invSlot : Number (InventorySlotId) - inde…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetInventoryItemID

Returns the item id of the item in the specified inventory slot

itemId = GetInventoryItemID(invSlot);

Arguments

invSlot
Number (InventorySlotId) - index of the inventory slot to query.

Returns

itemId
Number - item id of the item in the inventory slot; nil if there is no item.