EVENT_UNIT_ATTRIBUTE_VISUAL_UPDATED
ESO Lua API function — used by 48 of the 3,030 addons we indexed (combined 4,802,926 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_UNIT_ATTRIBUTE_VISUAL_UPDATED(string unitTag, [UnitAttributeVisual|#UnitAttributeVisual] unitAttributeVisual, [DerivedStats|#DerivedStats] statType, [Attributes|#Attributes] attributeType, [CombatMechanicFlags|#CombatMechanicFlags] powerType, number oldValue, number newValue, number oldMaxValue, number newMaxValue, integer sequenceId)Real usage — from Azurah - Interface Enhanced
EVENT_MANAGER:RegisterForEvent(self.name .. 'Attributes', EVENT_UNIT_ATTRIBUTE_VISUAL_REMOVED, OnShieldUpdate)
EVENT_MANAGER:RegisterForEvent(self.name .. 'Attributes', EVENT_UNIT_ATTRIBUTE_VISUAL_UPDATED, OnShieldUpdate)
elseShort excerpt from the shipping addon Azurah - Interface Enhanced — 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 |
|---|---|
| Azurah - Interface Enhanced | 1,462,318 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| CrutchAlerts | 916,918 |
| Qcell's Rockgrove Helper | 322,084 |
| Bandits Companions and Pets | 192,393 |
| Purge Tracker | 101,339 |