~/forever/addon-api
Addon API
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() : isDisabledC_Container.GetContainerFreeSlots(containerIndex) : freeSlotsC_Container.GetContainerItemCooldown(containerIndex, slotIndex) : startTime, duration, enableC_Container.GetContainerItemDurability(containerIndex, slotIndex) : durability, maxDurabilityC_Container.GetContainerItemEquipmentSetInfo(containerIndex, slotIndex) : inSet, setListC_Container.GetContainerItemID(containerIndex, slotIndex) : containerIDC_Container.GetContainerItemInfo(containerIndex, slotIndex) : containerInfoC_Container.GetContainerItemLink(containerIndex, slotIndex) : itemLinkC_Container.GetContainerItemPurchaseCurrency(containerIndex, slotIndex, itemIndex, isEquipped) : currencyInfoC_Container.GetContainerItemPurchaseInfo(containerIndex, slotIndex, isEquipped) : infoC_Container.GetContainerItemPurchaseItem(containerIndex, slotIndex, itemIndex, isEquipped) : itemInfoC_Container.GetContainerItemQuestInfo(containerIndex, slotIndex) : questInfoC_Container.GetContainerNumFreeSlots(bagIndex) : numFreeSlots, bagFamilyC_Container.GetContainerNumSlots(containerIndex) : numSlotsC_Container.GetInsertItemsLeftToRight() : isEnabledC_Container.GetItemCooldown(itemID) : startTime, duration, enableC_Container.GetMaxArenaCurrency() : maxCurrencyC_Container.GetSortBagsRightToLeft() : isEnabledC_Container.HasContainerItem(containerIndex, slotIndex) : hasItemDocumented 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.