ESODecoded

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 CraftStoreits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
CraftStore5,176,147
Lootdrop, Continued (All in One)1,145,178
Postmaster Mail427,397
Bag Space Indicator325,202
Bar Steward - Multi Toolbar204,140
LootDrop Reborn192,278