benilla-re systems structs docs

OnBackpackSlotChanged

function · ui · orchestration

Address
0x4f8db0 · 263 bytes, up to 0x4f8eb6
Signature
uint32_t __fastcall (uint32_t offset, uint32_t unused, uint32_t length, uint64_t guid, void *previous)
Meaning
Unlocks and refreshes a changed backpack or keyring slot, then raises BAG_UPDATE
Confidence
verified, proof one
Finding
ui/bags#backpack-and-keyring-events

Finding: Backpack and keyring events in ui: bags and bag slots

0x4f8db0 is the watcher of the backpack and keyring. On a change it unlocks the item, refreshes the action slots for the old and the new entry, and refreshes the two windows. Changed or not, it then raises BAG_UPDATE(-2) for slots 81 to 112 and calls 0x4f9370(player) for 23 to 38, which raises BAG_UPDATE(0). 0x4f9410(container) raises BAG_OPEN (327) with 0 for the player or the cache index, once for each match, and 0x4f93d0 raises BAG_UPDATE_COOLDOWN (330) with no argument.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.