GetBankSlotPrice
function · ui · orchestration
- Address
0x4f8690· 31 bytes, up to0x4f86ae- Meaning
- Returns the price at +4 of the bank slot record of an index, or 0
- Confidence
- verified, proof one
- Finding
- ui/inventoryverbs#the-bank
Finding: The bank in ui: inventory, container, bank and vendor getters
GetNumBankSlots() returns the number of bank bag slots the player bought (the byte at +0x1a of the field block) and 1 when it is 6 or
more, else nil. GetBankSlotCost() returns the price of the next slot from the bank slot price store, 0 without a player. PurchaseSlot() does
nothing without a player, control or an open banker, or with six slots bought. With less money than the price it shows
ERR_BANKSLOT_INSUFFICIENT_FUNDS (257); otherwise it sends CMSG_BUY_BANK_SLOT (0x1b9) with the interaction target. CloseBankFrame() closes the banker and signals BANKFRAME_CLOSED.
The derivation is in the doc.
Callers 2
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.