Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the number of free slots in a bag.
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[]
- GetContainerFreeSlots - Returns a table containing references to each free slot