Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 2.4.0 / 1.13.2

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);

Arguments

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

Returns

numberOfFreeSlots 
number - the number of free slots in the specified bag.
bagType 
number (itemFamily Bitfield) - The type of the container, described using bits to indicate its permissible contents.

See also

Advertisement