Wikia

WoWWiki

API BankButtonIDToInvSlotID

Talk0
98,461pages on
this wiki

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

invSlot = BankButtonIDToInvSlotID(buttonID, isBag)

Parameters

Arguments

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

invSlot
An inventory slot ID that can be used in other inventory functions
Advertisement | Your ad here

Photos

Add a Photo
61,979photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki