Wikia

WoWWiki

API GetContainerItemID

Talk0
101,546pages on
this wiki
WoW API < GetContainerItemID

Returns the item id of the item in a particular container slot.

itemId = GetContainerItemID(bag, slot);

Arguments Edit

bag 
Number (BagId) - Index of the bag to query.
slot 
Number - Index of the slot within the bag to query; ascending from 1.

Returns Edit

itemId 
Number - item ID of the item held in the container slot, nil if there is no item in the container slot.

Around Wikia's network

Random Wiki