API GetContainerNumFreeSlots

Returns the number of free slots in a bag.
 numberOfFreeSlots, bagType = GetContainerNumFreeSlots(bagID)
==Arguments==
:;bagID: - the slot containing the bag, e.g. 0 for backpack, etc.
==Returns==
:;numberOfFreeSlots: - the number of free slots in the specified bag.
:;bagType: (itemFamily Bitfield) - The type of the container, described using bits to indicate its permissible contents.
==See also==
* - Returns a table containing references to each free slot