RegisterBankSlotsWatcher
function · ui · orchestration
- Address
0x4f8460· 34 bytes, up to0x4f8481- Signature
void __cdecl (void)- Meaning
- Watches byte 2 of the active player's PLAYER_BYTES_2, the bought bank bag slots, with 0x4f8490
- 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 1
- EnterWorldUI ui
Callees 2
- ClntObjMgrSetObjectMirrorHandler objectlayer
- ClntObjMgrGetActivePlayer objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.