WowAddons

World of Warcraft Forever API · FrameAPITooltip.md, for your AI

FrameAPITooltip (widget methods)

9 functions, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

AddFontStrings

self:AddFontStrings(leftFontString, rightFontString)

Arguments

leftFontStringSimpleFontString
rightFontStringSimpleFontString

ClearPadding

self:ClearPadding()

Set all padding values to 0.0 and remove the Padding SecretAspect.

GetLeftLine

leftFontString = self:GetLeftLine(line)

Arguments

lineluaIndex

Returns

leftFontStringSimpleFontString

GetMinimumWidth

width, forced = self:GetMinimumWidth()

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns

widthnumber
forcedbool

GetPadding

right, bottom, left, top = self:GetPadding()

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns

rightnumber
bottomnumber
leftnumber
topnumber

GetRightLine

rightFontString = self:GetRightLine(line)

Arguments

lineluaIndex

Returns

rightFontStringSimpleFontString

SetMinimumWidth

self:SetMinimumWidth(width, [force])

Arguments

widthnumber
forcebool default false

SetPadding

self:SetPadding(right, bottom, [left], [top])

Arguments

rightnumber
bottomnumber
leftnumber may be nil
topnumber may be nil

SetText

self:SetText(text, colorR, colorG, colorB, [alpha], [wrap])

Arguments

textcstring
colorRnumber
colorGnumber
colorBnumber
alphanumber default 1
wrapbool default false

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows