~/forever/addon-api
Addon API
C_Spell.IsRangedAutoAttackSpell(spellIdentifier) : isRangedAutoAttackC_Spell.IsSelfBuff(spellID) : hasSelfEffectsOnlyC_Spell.IsSpellCrowdControl(spellIdentifier) : isCrowdControlC_Spell.IsSpellDataCached(spellIdentifier) : isCachedC_Spell.IsSpellDisabled(spellIdentifier) : disabledC_Spell.IsSpellHarmful(spellIdentifier) : isHarmfulC_Spell.IsSpellHelpful(spellIdentifier) : isHelpfulC_Spell.IsSpellImportant(spellIdentifier) : isImportantC_Spell.IsSpellInRange(spellIdentifier, targetUnit?) : inRangeC_Spell.IsSpellPassive(spellIdentifier) : isPassiveC_Spell.IsSpellUsable(spellIdentifier) : isUsable, insufficientPowerC_Spell.PickupSpell(spellIdentifier)C_Spell.PlaceTargetingSpellAtCursor()C_Spell.RequestLoadSpellData(spellIdentifier)C_Spell.SetSpellAutoCastEnabled(spellIdentifier, enabled)C_Spell.SpellHasRange(spellIdentifier) : hasRangeC_Spell.TargetSpellChecksItemCondition() : resultC_Spell.TargetSpellIsEnchanting() : isEnchantingC_Spell.TargetSpellJumpsUpgradeTrack() : jumpsUpgradeTrackC_Spell.TargetSpellReplacesBonusTree() : resultC_Spell.ToggleSpellAutoCast(spellIdentifier)Documented 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.