API GetContainerItemID

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetContainerItemID

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

itemId = GetContainerItemID(bag, slot);

Arguments Edit

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

Returns Edit

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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki