Wikia

WoWWiki

Watchlist Recent changes

API BankButtonIDToInvSlotID

Main Menue



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

buttonID
Number - 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.

Returns Edit

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

Pages on WoWWiki

94,193pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki