OnBankSlotsChanged
function · ui · orchestration
- Address
0x4f8490· 18 bytes, up to0x4f84a1- Signature
uint32_t __fastcall (uint32_t offset, uint32_t length, uint32_t guidLow, uint32_t guidHigh, const void *old, void *argument)- Meaning
- Signals PLAYERBANKBAGSLOTS_CHANGED and returns 1
- Confidence
- verified, proof one
- Finding
- ui/bags#bank-slot-watcher
Finding: Bank slot watcher in ui: bags and bag slots
The world entry registers one more object watcher on the active player: byte 2 of PLAYER_BYTES_2,
the count of bought bank bag slots, one byte long. A change of that byte signals
PLAYERBANKBAGSLOTS_CHANGED (id 350) with no arguments, banker or not, inside the update that
carries it. Leaving the world removes the watcher. The rest-state watcher on byte 3 of the same dword,
registered when the player becomes active, comes before it on that dword's list, so on one update
it runs first.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.