Wikia

WoWWiki

Watchlist Recent changes

API GetInventoryItemID

Main Menue



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

itemId = GetInventoryItemID("unit", invSlot);

Arguments Edit

unit 
String - The UnitId of the unit whose inventory is to be queried.
invSlot 
Number (InventorySlotId) - index of the inventory slot to query.

Returns Edit

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

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki