Wikia

WoWWiki

API GetInventoryItemID

Talk0
98,452pages on
this wiki

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

itemId = GetInventoryItemID("unit", invSlot);

Arguments

unit 
String - The UnitId of the unit whose inventory is to be queried.
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.
Advertisement | Your ad here

Photos

Add a Photo
61,965photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki