~/forever/addon-api
Addon API
UNIT_POWER_FREQUENT: unitTarget, powerTypeUNIT_POWER_POINT_CHARGE: unitTargetUNIT_POWER_UPDATE: unitTarget, powerTypeUNIT_QUEST_LOG_CHANGED: unitTargetUNIT_RANGEDDAMAGE: unitTargetUNIT_RANGED_ATTACK_POWER: unitTargetUNIT_RESISTANCES: unitTargetUNIT_SPELLCAST_CHANNEL_START: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_CHANNEL_STOP: unitTarget, castGUID, spellID, interruptedBy, castBarID?UNIT_SPELLCAST_CHANNEL_UPDATE: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_DELAYED: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_EMPOWER_START: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_EMPOWER_STOP: unitTarget, castGUID, spellID, complete, interruptedBy, castBarID?UNIT_SPELLCAST_EMPOWER_UPDATE: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_FAILED: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_FAILED_QUIET: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_INTERRUPTED: unitTarget, castGUID, spellID, interruptedBy, castBarID?UNIT_SPELLCAST_INTERRUPTIBLE: unitTargetUNIT_SPELLCAST_NOT_INTERRUPTIBLE: unitTargetUNIT_SPELLCAST_RETICLE_CLEAR: unitTarget, castGUID, spellIDUNIT_SPELLCAST_RETICLE_TARGET: unitTarget, castGUID, spellIDUNIT_SPELLCAST_SENT: unitTarget, target, castGUID, spellIDUNIT_SPELLCAST_START: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_STOP: unitTarget, castGUID, spellID, castBarID?UNIT_SPELLCAST_SUCCEEDED: unitTarget, castGUID, spellID, castBarID?UNIT_SPELL_HASTE: unitTargetUNIT_STATS: unitTargetUNIT_TARGET: unitTargetUNIT_TARGETABLE_CHANGED: unitTargetUNIT_THREAT_LIST_UPDATE: unitTargetUNIT_THREAT_SITUATION_UPDATE: unitTargetUPDATE_EXHAUSTIONUPDATE_MOUSEOVER_UNITUPDATE_STEALTHUnitAffectingCombat(unit) : resultUnitAlliedRaceInfo(unit) : isAlliedRace, hasHeritageArmorUnlockedUnitArmor(unit) : base, effective, real, bonusUnitAttackPower(unit) : attackPower, posBuff, negBuffUnitAttackSpeed(unit) : attackSpeed, offhandAttackSpeed, rangedAttackSpeedUnitBattlePetLevel(unit) : resultUnitBattlePetSpeciesID(unit) : resultUnitBattlePetType(unit) : resultUnitCanAssist(unit, target, canAssistImmunePC, canAssistUninteractable) : resultUnitCanAttack(unit, target) : resultUnitCanCooperate(unit, target) : resultUnitCanPetBattle(unit, target) : resultUnitCastingDuration(unit) : durationUnitCastingInfo(unit) : name, displayName, textureID, startTimeMs, endTimeMs, isTradeskill, castID, notInterruptible, castingSpellID, castBarID, delayTimeMsStructure UnitCastingInfoResultUnitChannelDuration(unit) : durationDocumented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.