Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetContainerItemID

Last wiki revision 2022-07-22

Returns the item ID in a container slot. itemId = GetContainerItemID(bag, slot)

  • bag: (BagID) - Index of the bag to query.
  • slot: - Index of the slot within the bag to query; ascending from 1.
  • itemId: - item ID of the item held in the container slot, nil if there is no item in the container slot.

Source

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