API GetContainerNumFreeSlots

104,633pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < GetContainerNumFreeSlots

Returns the total number of free slots in the bag an the type of items that can go into it specified by the index.

numberOfFreeSlots, BagType = GetContainerNumFreeSlots(bagID);

Parameters Edit

Arguments Edit

Integer - the slot containing the bag, e.g. 0 for backpack, etc.

Returns Edit

Integer - the number of slots in the specified bag, or 0 if there is no bag in the given slot.
Integer - The type of the container

Also on Fandom

Random Wiki