~/forever/addon-api
Addon API
C_Commentator.AddPlayerOverrideName(playerName, overrideName)C_Commentator.AddTrackedDefensiveAuras(spellIDs)C_Commentator.AddTrackedOffensiveAuras(spellIDs)C_Commentator.AreTeamsSwapped() : teamsAreSwappedC_Commentator.AssignPlayerToTeam(playerName, teamName)C_Commentator.AssignPlayersToTeam(playerName, teamName)C_Commentator.AssignPlayersToTeamInCurrentInstance(teamIndex, teamName)C_Commentator.CanUseCommentatorCheats() : canUseCommentatorCheatsC_Commentator.ClearCameraTarget()C_Commentator.ClearFollowTarget()C_Commentator.ClearLookAtTarget(lookAtIndex?)C_Commentator.EnterInstance()C_Commentator.ExitInstance()C_Commentator.FindSpectatedUnit(unitToken) : playerIndex, teamIndex, isPetC_Commentator.FindTeamNameInCurrentInstance(teamIndex) : teamNameC_Commentator.FindTeamNameInDirectory(playerNames) : teamNameC_Commentator.FlushCommentatorHistory()C_Commentator.FollowPlayer(factionIndex, playerIndex, forceInstantTransition?)C_Commentator.FollowUnit(token)C_Commentator.ForceFollowTransition()C_Commentator.GetAdditionalCameraWeight() : teamIndex, playerIndexC_Commentator.GetAdditionalCameraWeightByToken(unitToken) : weightC_Commentator.GetAllPlayerOverrideNames() : nameEntriesC_Commentator.GetCamera() : xPos, yPos, zPos, yaw, pitch, roll, fovC_Commentator.GetCameraCollision() : isCollidingC_Commentator.GetCameraPosition() : xPos, yPos, zPosC_Commentator.GetCombatEventInfo()C_Commentator.GetCommentatorHistory() : historyC_Commentator.GetCommentatorMatchDataState() : stateC_Commentator.GetCurrentMapID() : mapIDC_Commentator.GetDampeningPercent() : percentageC_Commentator.GetDistanceBeforeForcedHorizontalConvergence() : distanceC_Commentator.GetDurationToForceHorizontalConvergence() : msC_Commentator.GetExcludeDistance() : excludeDistanceC_Commentator.GetHardlockWeight() : weightC_Commentator.GetHorizontalAngleThresholdToSmooth() : angleC_Commentator.GetIndirectSpellID(trackedSpellID) : indirectSpellIDC_Commentator.GetInstanceInfo(mapIndex, instanceIndex) : mapID, mapName, status, instanceIDLow, instanceIDHighC_Commentator.GetLookAtLerpAmount() : amountC_Commentator.GetMapInfo(mapIndex) : teamSize, minLevel, maxLevel, numInstancesC_Commentator.GetMatchDuration() : secondsC_Commentator.GetMaxNumPlayersPerTeam() : maxNumPlayersPerTeamC_Commentator.GetMaxNumTeams() : maxNumTeamsC_Commentator.GetMode() : commentatorModeC_Commentator.GetMsToHoldForHorizontalMovement() : msC_Commentator.GetMsToHoldForVerticalMovement() : msC_Commentator.GetMsToSmoothHorizontalChange() : msC_Commentator.GetMsToSmoothVerticalChange() : msC_Commentator.GetNumMaps() : numMapsC_Commentator.GetNumPlayers(factionIndex) : numPlayersDocumented 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.