GetFirstBagBankSlotIndex
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 1.15.0 |
This API only exists in Wrath Classic and Classic Era. |
Returns the index of the first bag slot within the bank container.
index = GetFirstBagBankSlotIndex()
Returns
- index
- number - The slot index of the first bank bag.
Details
- This function was added to resolve an inconsistency with the value of the
NUM_BANKGENERIC_SLOTS
constant and the actual slot index assigned to the first bank bag[1]. On Classic Era, this constant is defined as24
matching the number of displayed item slots in the bank frame, however bag slots start at index28
as they do on Burning Crusade Classic.
Patch changes
Classic Era
Patch 1.14.0 (2021-09-28): Added in build 40618 on October 13 2021.