~/forever/addon-api
Addon API
SetTimerDuration(duration, interpolation, direction)SetToAlpha(normalizedAlpha)SetToDefaults()SetToFinalAlpha(setToFinalAlpha)SetToPercent(percent)SetToTargetValue()SetToplevel(topLevel)SetTransform(translation?, rotation?, scale?)SetType(type)SetUIVisibility(visible)SetUiMapID(mapID)SetUncollected(isActive)SetUnit(unit, blend, useNativeForm?) : successSetUnitColor(unit, colorR, colorG, colorB, colorA)SetUnitCursorTexture(textureObject, unit, style?, includeLowPriority?, preferGamepadIcon?) : hasCursorSetUpdateCallback(cb)SetUpdateInterval(updateInterval)SetUseAuraDisplayTime(useAuraDisplayTime)SetUseCenterForOrigin(x, y, z)SetUseCircularEdge(useCircularEdge)SetUseGBuffer(useGBuffer)SetUseTransmogChoices(use)SetUseTransmogSkin(use)SetUserPlaced(userPlaced)SetUsingParentLevel(usingParentLevel)SetUsingSoftCursor(usingSoftCursor)SetValue(value, interpolation)SetValueStep(valueStep)SetVertTile(tiling)SetVertexColor(colorR, colorG, colorB, a?)SetVertexColorFromBoolean(value, colorIfTrue, colorIfFalse)SetVertexOffset(vertexIndex, offsetX, offsetY)SetVerticalScroll(offset)SetViewInsets(left, right, top, bottom)SetViewTranslation(x, y)SetVisibleTextByteLimit(maxVisibleBytes)SetWidth(width)SetWindow(window?)SetWordWrap(wrap)SetYaw(yaw)SetZeroDurationText(text?)SetZoom(zoom)ShouldButtonPassThrough(button) : shouldPassThroughShouldDisplayRaidRolesInSocialFrame() : resultShouldDisplayStoryModeTooltipInSocialFrame() : resultShouldShowExpansionUpgradeBanner() : showUpgradeBannerShouldShowIslandsWeeklyPOI() : resultShouldShowSpecialSplashScreen() : resultShow()ShowCloak(show)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.