OnMoneyChanged
function · objectlayer · primitive
- Address
0x5ddf30· 189 bytes, up to0x5ddfec- Meaning
- Plays the coin sound, signals PLAYER_MONEY and trims the player's trade offer to the money left
- 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 8
- SndInterfacePlayInterfaceSound sound
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ReevaluateTrainerStates ui
- TradeSubtractMoney objectlayer
- TradeGetPlayerMoney objectlayer
- RefreshQuestGiverStatuses objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.