Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetContainerFreeSlots

Last wiki revision 2022-07-22

Populates a table with references to unused slots inside a container.

returnTable = GetContainerFreeSlots(index) GetContainerFreeSlots(index, returnTable);

  • index: - the slot containing the bag, e.g. 0 for backpack, etc.
  • returnTable: - Provide an empty table and the function will populate it with the free slots
  • returnTable: - If you do not specify returnTable as an argument, the function constructs and returns a new table instead

Source

https://warcraft.wiki.gg/wiki/API_GetContainerFreeSlots · 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.