C_Container.GetContainerNumFreeSlots

From Warcraft Wiki
Jump to navigation Jump to search

Returns the number of free slots & the bagType that an equipped bag or backpack belongs to.

numFreeSlots, bagType = C_Container.GetContainerNumFreeSlots(bagIndex)

Arguments

bagIndex
number

Returns

numFreeSlots
number
bagType
number : ItemFamily

See also