~/forever/addon-api
Addon API
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)C_Commentator.SetSmoothFollowTransitioning(enabled)C_Commentator.SetSoftlockWeight(weight)C_Commentator.SetSpeedFactor(factor)C_Commentator.SetTargetHeightOffset(offset)C_Commentator.SetUseSmartCamera(useSmartCamera)C_Commentator.SnapCameraLookAtPoint()C_Commentator.SpellUsesItemCharges(spellID) : spellUsesItemChargesC_Commentator.StartWargame(listID, teamSize, tournamentRules, teamOneCaptain, teamTwoCaptain)C_Commentator.SwapTeamSides()C_Commentator.ToggleCheats()C_Commentator.UpdateMapInfo(targetPlayer?)C_Commentator.UpdatePlayerInfo()C_Commentator.ZoomIn()C_Commentator.ZoomIn_Position(zoomAmount?)C_Commentator.ZoomOut()C_Commentator.ZoomOut_Position(zoomAmount?)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.