WoW API < BankButtonIDToInvSlotID

Map a bank item button or bag to an inventory slot button for use in inventory functions.

invSlot = BankButtonIDToInvSlotID(buttonID, isBag)

Parameters Edit

Arguments Edit

Number - bank item/bag ID.
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.

Returns Edit

An inventory slot ID that can be used in other inventory functions

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.