World of Warcraft Forever API · NumericRuleFormatterAPI.md, for your AI
NumericRuleFormatterAPI (widget methods)
5 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
AddBreakpoint
self:AddBreakpoint(breakpoint)
Adds a new breakpoint to the formatter.
Arguments
breakpoint | NumericRuleFormatBreakpoint |
|---|
ClearBreakpoints
self:ClearBreakpoints()
Removes all configured breakpoints from the formatter.
Copy
copy = self:Copy()
Returns a new copy of this formatter.
Returns
copy | NumericRuleFormatter |
|---|
GetBreakpoints
breakpoints = self:GetBreakpoints()
Returns a list of all configured breakpoints on this formatter.
Returns
breakpoints | NumericRuleFormatBreakpoint[] |
|---|
SetBreakpoints
self:SetBreakpoints(breakpoints)
Replaces all breakpoints on the formatter.
Arguments
breakpoints | NumericRuleFormatBreakpoint[] |
|---|