m
Move page script moved page API GetInventoryItemID to WoW:API GetInventoryItemID without leaving a redirect
(Created page with '{{wowapi}} Returns the item id of the item in the specified inventory slot itemId = GetInventoryItemID(invSlot); == Arguments == ; invSlot : Number (InventorySlotId) - inde…') |
m (Move page script moved page API GetInventoryItemID to WoW:API GetInventoryItemID without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Returns the item id of the item in the specified inventory slot | Returns the item id of the item in the specified inventory slot | ||
itemId = GetInventoryItemID(invSlot); | itemId = GetInventoryItemID("unit", invSlot); | ||
== Arguments == | == Arguments == | ||
; invSlot : Number ([[InventorySlotId]]) - index of the inventory slot to query. | ;unit : String - The [[API TYPE UnitId|UnitId]] of the unit whose inventory is to be queried. | ||
;invSlot : Number ([[InventorySlotId]]) - index of the inventory slot to query. | |||
== Returns == | == Returns == | ||
; itemId: Number - item id of the item in the inventory slot; nil if there is no item. | ; itemId: Number - item id of the item in the inventory slot; nil if there is no item. | ||