~/forever/addon-api
Addon API
TaggableObjectMixin:MatchesAllTags(...)TaggableObjectMixin:MatchesAnyTag(...)TaggableObjectMixin:MatchesTag(tag)TaggableObjectMixin:RemoveAllTags()TaggableObjectMixin:RemoveTag(tag)TemplateInfoCacheMixin:FlushTemplateInfos()TemplateInfoCacheMixin:GetTemplateInfo(frameTemplate)TemplateInfoCacheMixin:GetTemplateInfos()TemplateInfoCacheMixin:Init()TemplateInfoCacheMixin:SetInfoAddedCallback(callback)TextureUtil.AnimateTexCoords(texture, textureWidth, textureHeight, frameWidth, frameHeight, numFrames, elapsed, throttle)TextureUtil.GetSmallIconForRole(role)TextureUtil.GetSmallIconForRoleEnum(role)TimedCallbackMixin:Cancel()TimedCallbackMixin:ClearTimer()TimedCallbackMixin:RunCallbackAsync(callback)TimedCallbackMixin:SetCheckDelaySeconds(delay)TimerUtil.CreateTimedSignalCallbackMap()UIFrameFade(frame, fadeInfo)UIFrameFadeIn(frame, timeToFade, startAlpha, endAlpha)UIFrameFadeOut(frame, timeToFade, startAlpha, endAlpha)UIFrameFadeRemoveFrame(frame)UIFrameFade_OnUpdate(self, elapsed)UIFrameFlash(frame, fadeInTime, fadeOutTime, flashDuration, showWhenDone, flashInHoldTime, flashOutHoldTime, syncId)UIFrameFlashStop(frame)UIFrameFlash_OnUpdate(self, elapsed)UIFrameIsFading(frame)UIFrameIsFlashing(frame)WithinRange(value, min, max)WithinRangeExclusive(value, min, max)Wrap(value, max)WrapTextInColor(text, color)WrapTextInColorCode(text, colorHexString)acos(x)asin(x)assertf(cond, msgStringOrFunction, ...)assertsafe(cond, msgStringOrFunction, ...)atan(x)atan2(x, y)cos(x)ipairs_reverse(table)nop()sin(x)tAppendAll(table, addedArray)tCompare(lhsTable, rhsTable, depth)tFilter(tbl, pred, isIndexTable)tInsertUnique(tbl, item)tInvert(tbl)tInvertToArray(tbl)tan(x)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.