Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API BankButtonIDToInvSlotID

Last wiki revision 2022-07-22

Maps a BankButtonID to InventorySlotID.

invSlot = BankButtonIDToInvSlotID(buttonID, isBag)

  • buttonID: - bank item/bag ID.
  • isBag:1 if buttonID is a bag, nil otherwise. Same result as ContainerIDToInventoryID, except this one only works for bank bags and is more awkward to use.
  • invSlot:An inventory slot ID that can be used in other inventory functions

Source

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