~/forever/addon-api
Addon API
C_Commentator.HasTrackedAuras(token) : hasOffensiveAura, hasDefensiveAuraC_Commentator.IsSmartCameraLocked() : isSmartCameraLockedC_Commentator.IsSpectating() : isSpectatingC_Commentator.IsTrackedDefensiveAura(spellID) : isDefensiveTriggerC_Commentator.IsTrackedOffensiveAura(spellID) : isOffensiveTriggerC_Commentator.IsTrackedSpell(teamIndex, playerIndex, spellID, category) : isTrackedC_Commentator.IsTrackedSpellByUnit(unitToken, spellID, category) : isTrackedC_Commentator.IsUsingSmartCamera() : isUsingSmartCameraC_Commentator.LookAtPlayer(factionIndex, playerIndex, lookAtIndex?)C_Commentator.RemoveAllOverrideNames()C_Commentator.RemovePlayerOverrideName(originalPlayerName)C_Commentator.RequestPlayerCooldownInfo(teamIndex, playerIndex)C_Commentator.ResetFoVTarget()C_Commentator.ResetSeriesScores(teamName1, teamName2)C_Commentator.ResetSettings()C_Commentator.ResetTrackedAuras()C_Commentator.SendAddonMessage(prefix, message, chatType?, target?) : resultC_Commentator.SendAddonMessageLogged(prefix, message, chatType?, target?) : resultC_Commentator.SetAdditionalCameraWeight(teamIndex, playerIndex, weight)C_Commentator.SetAdditionalCameraWeightByToken(unitToken, weight)C_Commentator.SetBlocklistedAuras(spellIDs)C_Commentator.SetBlocklistedCooldowns(specID, spellIDs)C_Commentator.SetBlocklistedItemCooldowns(itemIDs)C_Commentator.SetCamera(xPos, yPos, zPos, yaw, pitch, roll, fov)C_Commentator.SetCameraCollision(collide)C_Commentator.SetCameraPosition(xPos, yPos, zPos, snapToLocation)C_Commentator.SetCheatsEnabled(enableCheats)C_Commentator.SetCommentatorHistory(history)C_Commentator.SetDistanceBeforeForcedHorizontalConvergence(distance)C_Commentator.SetDurationToForceHorizontalConvergence(ms)C_Commentator.SetExcludeDistance(excludeDistance)C_Commentator.SetFollowCameraSpeeds(elasticSpeed, minSpeed)C_Commentator.SetHardlockWeight(weight)C_Commentator.SetHorizontalAngleThresholdToSmooth(angle)C_Commentator.SetLookAtLerpAmount(amount)C_Commentator.SetMapAndInstanceIndex(mapIndex, instanceIndex)C_Commentator.SetMouseDisabled(disabled)C_Commentator.SetMoveSpeed(newSpeed)C_Commentator.SetMsToHoldForHorizontalMovement(ms)C_Commentator.SetMsToHoldForVerticalMovement(ms)C_Commentator.SetMsToSmoothHorizontalChange(ms)C_Commentator.SetMsToSmoothVerticalChange(ms)C_Commentator.SetPositionLerpAmount(amount)C_Commentator.SetRequestedDebuffCooldowns(specID, spellIDs)C_Commentator.SetRequestedDefensiveCooldowns(specID, spellIDs)C_Commentator.SetRequestedItemCooldowns(itemIDs)C_Commentator.SetRequestedOffensiveCooldowns(specID, spellIDs)C_Commentator.SetSeriesScore(teamName1, teamName2, scoringTeamName, score)C_Commentator.SetSeriesScores(teamName1, teamName2, score1, score2)C_Commentator.SetSmartCameraLocked(locked)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.