benilla-re systems structs docs

OnInventorySlotChanged

function · objectlayer · primitive

Address
0x5ddcf0 · 141 bytes, up to 0x5ddd7c
Meaning
Passes an inventory slot's new GUID to 0x495420 and signals PLAYERBANKSLOTS_CHANGED for a bank slot
Confidence
verified, proof one
Finding
objectlayer/playerfields#inventory-and-money-changes

Finding: Inventory and money changes in objectlayer: player fields

An inventory slot change passes the slot's new GUID to 0x495420 when it differs from the old one, and signals PLAYERBANKSLOTS_CHANGED for slots 39 to 68. A money change plays LOOTWINDOWCOINSOUND, signals PLAYER_MONEY, refreshes quest-giver statuses, and lowers the player's trade offer to the money left when the offer is larger.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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