EVENT_MONEY_UPDATE
ESO Lua API function — used by 49 of the 3,030 addons we indexed (combined 8,305,165 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_MONEY_UPDATE(integer newMoney, integer oldMoney, [CurrencyChangeReason|#CurrencyChangeReason] reason, integer reasonSupplementaryInfo)Real usage — from CraftStore
EM:RegisterForEvent('CSEE',EVENT_INVENTORY_SINGLE_SLOT_UPDATE, CS.OnInventorySingleSlotUpdate)
EM:RegisterForEvent('CSEE',EVENT_MONEY_UPDATE, CS.OnMoneyUpdate)
Short excerpt from the shipping addon CraftStore — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| CraftStore | 5,176,147 |
| Lootdrop, Continued (All in One) | 1,145,178 |
| Postmaster Mail | 427,397 |
| Bag Space Indicator | 325,202 |
| Bar Steward - Multi Toolbar | 204,140 |
| LootDrop Reborn | 192,278 |