EVENT_CURRENCY_UPDATE
ESO Lua API function — used by 39 of the 3,030 addons we indexed (combined 1,631,658 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_CURRENCY_UPDATE([CurrencyType|#CurrencyType] currencyType, [CurrencyLocation|#CurrencyLocation] currencyLocation, integer newAmount, integer oldAmount, [CurrencyChangeReason|#CurrencyChangeReason] reason, integer reasonSupplementaryInfo)Real usage — from ESO-Database.com Export AddOn
EVENT_MANAGER:RegisterForEvent(ESODatabaseExport.Name, EVENT_MONEY_UPDATE, ESODatabaseExport.EventMoneyUpdate)
EVENT_MANAGER:RegisterForEvent(ESODatabaseExport.Name, EVENT_CURRENCY_UPDATE, ESODatabaseExport.EventCurrencyUpdate)
EVENT_MANShort excerpt from the shipping addon ESO-Database.com Export AddOn — 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 |
|---|---|
| ESO-Database.com Export AddOn | 272,910 |
| Event Tracker | 249,931 |
| Bar Steward - Multi Toolbar | 204,140 |
| LootDrop Reborn | 192,278 |
| Vestige's Epic Quest | 153,140 |
| BetterUI :: Gamepad Interface Improvements | 90,214 |