~/forever/addon-api
Addon API
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?)C_ConfigurationWarnings.GetConfigurationWarningSeen(configurationWarning) : hasSeenConfigurationWarningC_ConfigurationWarnings.GetConfigurationWarningString(configurationWarning) : configurationWarningStringC_ConfigurationWarnings.GetConfigurationWarnings(includeSeenWarnings) : configurationWarningsC_ConfigurationWarnings.SetConfigurationWarningSeen(configurationWarning)C_ConsoleScriptCollection.GetCollectionDataByID(collectionID) : dataC_ConsoleScriptCollection.GetCollectionDataByTag(collectionTag) : dataC_ConsoleScriptCollection.GetElements(collectionID) : elementIDsC_ConsoleScriptCollection.GetScriptData(consoleScriptID) : dataC_Container.CalculateTotalNumberOfFreeBagSlots() : totalFreeSlotsC_Container.ContainerIDToInventoryID(containerID) : inventoryIDC_Container.ContainerRefundItemPurchase(containerIndex, slotIndex, isEquipped)C_Container.GetBackpackAutosortDisabled() : isDisabledC_Container.GetBackpackSellJunkDisabled() : isDisabledC_Container.GetBagName(bagIndex) : nameC_Container.GetBagSlotFlag(bagIndex, flag) : isSetC_Container.GetBankAutosortDisabled() : isDisabledDocumented 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.