~/forever/addon-api
Addon API
ReportBug(description)ReportPlayerIsPVPAFK(unit)ReportSuggestion(description)RequestTimePlayed()Reset()ResetBreakpoints()ResetCPUUsage()ResetCursor()ResetInputMode()ResetInstances()ResetLights()ResetMessageFadeByID(messageID)ResetNextHandSlot()ResetPredictedValues()ResetTexCoord()ResetTime()ResistancePercent(resistance, casterLevel) : resultResizeToBoundsRect()RespondInstanceLock(acceptLock)Restart(reverse, offset)RestartGx()Resume()ResurrectGetOfferer() : nameResurrectHasSickness() : resultResurrectHasTimer() : resultRetrieveCorpse()RewindTime(delta)RotateTextures(radians, x, y)RunScript(text)RunSearch()Save()Screenshot()Select()SelectPlural(number, pluralType) : resultSelectedRealmName() : selectedRealmNameSellCursorItem()SendSubscriptionInterstitialResponse(response)SetAbbreviateNumberData(data)SetAllHitTestPoints(relativeTo)SetAllInFilterTagGroup(groupID, active)SetAllPoints(relativeTo, doResize)SetAllowDangerousScripts(allowed)SetAllowLowLevelRaid(allow)SetAllowOverlappedModels(allowOverlappedModels)SetAllowRecentAlliesSeeLocation(allowRecentAlliesSeeLocation)SetAllowedIndoors(isActive)SetAllowedOutdoors(isActive)SetAlpha(alpha)SetAlphaFromBoolean(value, alphaIfTrue, alphaIfFalse)SetAlphaGradient(index, gradient)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.