EVENT_ALLIANCE_POINT_UPDATE
ESO Lua API function — used by 58 of the 3,030 addons we indexed (combined 22,332,748 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_ALLIANCE_POINT_UPDATE(integer alliancePoints, bool playSound, integer difference, [CurrencyChangeReason|#CurrencyChangeReason] reason, integer reasonSupplementaryInfo)Real usage — from AUI - Advanced UI
--Inventory and Money
EVENT_MANAGER:RegisterForEvent("AUI_EVENT_ALLIANCE_POINT_UPDATE", EVENT_ALLIANCE_POINT_UPDATE, OnAlliancePointUpdate)
EVENT_MANAGER:RegisterForEvent("AUI_EVENT_INVENTORY_ITEM_USED", EVENT_INVENTORY_ITEM_USED, OnInveShort excerpt from the shipping addon AUI - Advanced UI — 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 |
|---|---|
| Bandits User Interface | 6,130,317 |
| AUI - Advanced UI | 5,406,091 |
| Lui Extended | 3,001,958 |
| Lootdrop, Continued (All in One) | 1,145,178 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| Wykkyd Outfitter | 632,442 |