ESODecoded

EVENT_POWER_UPDATE

ESO Lua API function — used by 116 of the 3,030 addons we indexed (combined 20,012,028 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_POWER_UPDATE(string unitTag, luaindex powerIndex, [CombatMechanicFlags|#CombatMechanicFlags] powerType, integer powerValue, integer powerMax, integer powerEffectiveMax)

Real usage — from Srendarr - Aura, Buff & Debuff Tracker

					UpdateBahsei()
					EVENT_MANAGER:RegisterForEvent('Srendarr_Bahsei', EVENT_POWER_UPDATE, UpdateBahsei)
					EVENT_MANAGER:AddFilterForEvent('Srendarr_Bahsei', EVENT_POWER_UPDATE, REGISTER_FILTER_UNIT_TAG, 'player')

Short excerpt from the shipping addon Srendarr - Aura, Buff & Debuff Trackerits 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
Srendarr - Aura, Buff & Debuff Tracker5,058,870
LibCombat5,017,654
LibSets (All set items ingame & preview. lua API + excel sheet)4,357,189
Azurah - Interface Enhanced1,462,318
Foundry Tactical Combat (FTC)1,097,601
CrutchAlerts916,918