~/forever/addon-api
Addon API
C_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) : hasFlagC_Commentator.GetPlayerItemCooldownInfo(teamIndex, playerIndex, itemID) : startTime, duration, enableC_Commentator.GetPlayerItemCooldownInfoByUnit(unitToken, itemID) : startTime, duration, enableC_Commentator.GetPlayerOverrideName(originalName) : overrideNameC_Commentator.GetPlayerSpellCharges(teamIndex, playerIndex, spellID) : charges, maxCharges, startTime, durationC_Commentator.GetPlayerSpellChargesByUnit(unitToken, spellID) : charges, maxCharges, startTime, durationC_Commentator.GetPositionLerpAmount() : amountC_Commentator.GetSmoothFollowTransitioning() : enabledC_Commentator.GetSoftlockWeight() : weightC_Commentator.GetSpeedFactor() : factorC_Commentator.GetStartLocation(mapID) : posC_Commentator.GetTeamColor(teamIndex) : colorC_Commentator.GetTeamColorByUnit(unitToken) : colorC_Commentator.GetTimeLeftInMatch() : timeLeftC_Commentator.GetTrackedSpellID(indirectSpellID) : trackedSpellIDC_Commentator.GetTrackedSpells(teamIndex, playerIndex, category) : spells, resultC_Commentator.GetTrackedSpellsByUnit(unitToken, category) : spells, resultC_Commentator.GetUnitData(unitToken) : dataC_Commentator.GetWargameInfo(listID) : name, minPlayers, maxPlayers, isArenaC_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)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.