v0.13.7

C_Container.GetContainerNumFreeSlots

functionimplementedavailable in: camelot

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

signaturewowlua
function C_Container.GetContainerNumFreeSlots(    bagIndex: BagIndex): (number, number?)

Parameters

nametype
bagIndexBagIndex

Returns

#nametypedescription
1numFreeSlotsnumber
2bagFamilynumber?ItemFamily - Also known as bagType

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Container system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.