Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetContainerNumFreeSlots

Last wiki revision 2022-07-22

Returns the number of free slots in a bag. numberOfFreeSlots, bagType = GetContainerNumFreeSlots(bagID)

  • bagID: - the slot containing the bag, e.g. 0 for backpack, etc.
  • 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.
  • - Returns a table containing references to each free slot

Source

https://warcraft.wiki.gg/wiki/API_GetContainerNumFreeSlots · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.