~/forever/addon-api
Addon API
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) : numPlayersC_Commentator.GetOrCreateSeries(teamName1, teamName2) : dataC_Commentator.GetPlayerAuraInfo(teamIndex, playerIndex, spellID) : startTime, duration, enableC_Commentator.GetPlayerAuraInfoByUnit(token, spellID) : startTime, duration, enableC_Commentator.GetPlayerCooldownInfo(teamIndex, playerIndex, spellID) : startTime, duration, enableC_Commentator.GetPlayerCooldownInfoByUnit(unitToken, spellID) : startTime, duration, enableC_Commentator.GetPlayerCrowdControlInfo(teamIndex, playerIndex) : spellID, expiration, durationC_Commentator.GetPlayerCrowdControlInfoByUnit(token) : spellID, expiration, durationC_Commentator.GetPlayerData(teamIndex, playerIndex) : infoC_Commentator.GetPlayerFlagInfo(teamIndex, playerIndex) : hasFlagC_Commentator.GetPlayerFlagInfoByUnit(unitToken) : hasFlagDocumented 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.