~/forever/addon-api
Addon API
C_Spell.GetOverrideSpell(spellIdentifier, spec, onlyKnown, ignoreOverrideSpellID) : overrideSpellIDC_Spell.GetSchoolString(schoolMask) : resultC_Spell.GetSpellAutoCast(spellIdentifier) : autoCastAllowed, autoCastEnabledC_Spell.GetSpellCastCount(spellIdentifier) : castCountC_Spell.GetSpellChargeDuration(spellIdentifier) : durationC_Spell.GetSpellCharges(spellIdentifier) : chargeInfoC_Spell.GetSpellCooldown(spellIdentifier) : spellCooldownInfoC_Spell.GetSpellCooldownDuration(spellIdentifier, ignoreGCD) : durationC_Spell.GetSpellDescription(spellIdentifier) : descriptionC_Spell.GetSpellDescriptionForItemLocation(spellIdentifier, itemLocation) : descriptionC_Spell.GetSpellDisplayCount(spellIdentifier, maxDisplayCount, replacementString) : displayCountC_Spell.GetSpellIDForSpellIdentifier(spellIdentifier) : spellIDC_Spell.GetSpellInfo(spellIdentifier) : spellInfoC_Spell.GetSpellLevelLearned(spellIdentifier) : levelLearnedC_Spell.GetSpellLink(spellIdentifier, glyphID?) : spellLinkC_Spell.GetSpellLossOfControlCooldownDuration(spellIdentifier) : durationC_Spell.GetSpellLossOfControlCooldownInfo(spellIdentifier) : lossOfControlInfoC_Spell.GetSpellMaxCumulativeAuraApplications(spellID) : cumulativeAuraC_Spell.GetSpellName(spellIdentifier) : nameC_Spell.GetSpellPowerCost(spellIdentifier) : powerCostsC_Spell.GetSpellQueueWindow() : resultC_Spell.GetSpellSkillLineAbilityRank(spellIdentifier) : rankC_Spell.GetSpellSubtext(spellIdentifier) : subtextC_Spell.GetSpellTexture(spellIdentifier) : iconID, originalIconID, conditionalIconIDC_Spell.GetSpellTradeSkillLink(spellIdentifier) : spellLinkC_Spell.GetTargetSpellID() : spellIDC_Spell.GetVisibilityInfo(spellID, visibilityType) : hasCustom, alwaysShowMine, showForMySpecC_Spell.IsActiveSpell(spellIdentifier, targetUnit?) : isActiveSpellC_Spell.IsAutoAttackSpell(spellIdentifier) : isAutoAttackC_Spell.IsAutoRepeatSpell(spellIdentifier) : isAutoRepeatC_Spell.IsClassTalentSpell(spellIdentifier) : isAutoRepeatC_Spell.IsConsumableSpell(spellIdentifier) : consumableC_Spell.IsCurrentSpell(spellIdentifier) : isCurrentSpellC_Spell.IsExternalDefensive(spellID) : isExternalDefensiveC_Spell.IsPressHoldReleaseSpell(spellIdentifier) : isPressHoldReleaseC_Spell.IsPriorityAura(spellID) : isHighPriorityC_Spell.IsPvPTalentSpell(spellIdentifier) : isAutoRepeatC_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()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.