Update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
---@meta
|
||||
|
||||
---r,g,b,a
|
||||
---@meta
|
||||
|
||||
---r,g,b,a
|
||||
---@alias wowColor table<number>
|
||||
90
Meta/LCG.lua
90
Meta/LCG.lua
@@ -1,45 +1,45 @@
|
||||
---@meta
|
||||
|
||||
---@class LCG
|
||||
LCG = {
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
|
||||
---@param n? number number of lines. Defaul value is 8;
|
||||
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.25;
|
||||
---@param length? number length of lines. Default value depends on region size and number of lines;
|
||||
---@param th? number thickness of lines. Default value is 2;
|
||||
---@param xoffset? number offset of glow relative to region border;
|
||||
---@param yoffset? number offset of glow relative to region border;
|
||||
---@param border? number set to true to create border under lines;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
PixelGlow_Start = function(frame, color, n, frequency, length, th, xoffset, yoffset, border, key) end,
|
||||
---@param frame Frame target frame to stop glowing;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
PixelGlow_Stop = function(frame, key) end,
|
||||
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
|
||||
---@param n? number number of lines. Defaul value is 4;
|
||||
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
|
||||
---@param scale? number scale of particles;
|
||||
---@param xoffset? number offset of glow relative to region border;
|
||||
---@param yoffset? number offset of glow relative to region border;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
AutoCastGlow_Start = function(frame, color, n, frequency, scale, xoffset, yoffset, key) end,
|
||||
---@param frame Frame target frame to stop glowing;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
AutoCastGlow_Stop = function(frame, key) end,
|
||||
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
|
||||
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
|
||||
---@return nil
|
||||
ButtonGlow_Start = function(frame, color, frequency) end,
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@return nil
|
||||
ButtonGlow_Stop = function(frame) end,
|
||||
}
|
||||
---@meta
|
||||
|
||||
---@class LCG
|
||||
LCG = {
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
|
||||
---@param n? number number of lines. Defaul value is 8;
|
||||
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.25;
|
||||
---@param length? number length of lines. Default value depends on region size and number of lines;
|
||||
---@param th? number thickness of lines. Default value is 2;
|
||||
---@param xoffset? number offset of glow relative to region border;
|
||||
---@param yoffset? number offset of glow relative to region border;
|
||||
---@param border? number set to true to create border under lines;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
PixelGlow_Start = function(frame, color, n, frequency, length, th, xoffset, yoffset, border, key) end,
|
||||
---@param frame Frame target frame to stop glowing;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
PixelGlow_Stop = function(frame, key) end,
|
||||
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
|
||||
---@param n? number number of lines. Defaul value is 4;
|
||||
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
|
||||
---@param scale? number scale of particles;
|
||||
---@param xoffset? number offset of glow relative to region border;
|
||||
---@param yoffset? number offset of glow relative to region border;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
AutoCastGlow_Start = function(frame, color, n, frequency, scale, xoffset, yoffset, key) end,
|
||||
---@param frame Frame target frame to stop glowing;
|
||||
---@param key? string key of glow, allows for multiple glows on one frame;
|
||||
---@return nil
|
||||
AutoCastGlow_Stop = function(frame, key) end,
|
||||
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
|
||||
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
|
||||
---@return nil
|
||||
ButtonGlow_Start = function(frame, color, frequency) end,
|
||||
---@param frame Frame target frame to set glowing;
|
||||
---@return nil
|
||||
ButtonGlow_Stop = function(frame) end,
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
---@meta
|
||||
|
||||
---@param unitId string
|
||||
---@param index string|number index or name of debuff to query
|
||||
---@param removable? boolean If 1, only debuffs removable by player will be returned; debuffIndex still begins at 1.
|
||||
---@return string name The name of the spell or effect of the debuff, or nil if no debuff was found with the specified name or at the specified index. This is the name shown in yellow when you mouse over the icon.
|
||||
---@return string icon The identifier of (path and filename to) the indicated debuff, or nil if no debuff
|
||||
---@return number count The number of times the debuff has been applied to the target. Returns 0 for any debuff which doesn't stack.
|
||||
---@return string debuffType The type of debuff, e.g. "Magic", "Disease", "Poison", "Curse", or "none". Returns nil if the debuff type is not known.
|
||||
---@return number duration The full duration of the debuff in seconds; nil if the debuff was not cast by the player.
|
||||
---@return number expirationTime Time at which the debuff expires (GetTime() as a reference frame).
|
||||
---@return string unitCaster Reference to the unit that cast the buff/debuff.
|
||||
---@return boolean isStealable 1 if it is stealable otherwise nil
|
||||
---@return boolean shouldConsolidate 1 if the buff should be placed in a buff consolidation box (usually long-term effects).
|
||||
---@return number spellId spell ID of the aura.
|
||||
UnitDebuff = function(unitId, index, removable) end
|
||||
---@meta
|
||||
|
||||
---@param unitId string
|
||||
---@param index string|number index or name of debuff to query
|
||||
---@param removable? boolean If 1, only debuffs removable by player will be returned; debuffIndex still begins at 1.
|
||||
---@return string name The name of the spell or effect of the debuff, or nil if no debuff was found with the specified name or at the specified index. This is the name shown in yellow when you mouse over the icon.
|
||||
---@return string icon The identifier of (path and filename to) the indicated debuff, or nil if no debuff
|
||||
---@return number count The number of times the debuff has been applied to the target. Returns 0 for any debuff which doesn't stack.
|
||||
---@return string debuffType The type of debuff, e.g. "Magic", "Disease", "Poison", "Curse", or "none". Returns nil if the debuff type is not known.
|
||||
---@return number duration The full duration of the debuff in seconds; nil if the debuff was not cast by the player.
|
||||
---@return number expirationTime Time at which the debuff expires (GetTime() as a reference frame).
|
||||
---@return string unitCaster Reference to the unit that cast the buff/debuff.
|
||||
---@return boolean isStealable 1 if it is stealable otherwise nil
|
||||
---@return boolean shouldConsolidate 1 if the buff should be placed in a buff consolidation box (usually long-term effects).
|
||||
---@return number spellId spell ID of the aura.
|
||||
UnitDebuff = function(unitId, index, removable) end
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
---@meta
|
||||
|
||||
---[Source](https://github.com/WeakAuras/WeakAuras2/wiki/Trigger-State-Updater-%28TSU%29)
|
||||
---@class state
|
||||
---@field changed boolean Informs WeakAuras that the states values have changed. Always set this to true for states that were changed.
|
||||
---@field show boolean Controls whether the display is visible. Note, that states that have show set to false are automatically removed.
|
||||
---@field name string The name, returned by %n
|
||||
---@field icon number|string IconID or TexturePath, used in icons and progress bars
|
||||
---@field texture number|string IconID or TexturePath, used in textures
|
||||
---@field stacks number The stack count, returned by %s
|
||||
---@field index number|string Sets the order the output will display in a dynamic group (if sorting is set to "none" on the group). Strings or numbers are fine but DO NOT MIX TYPES!
|
||||
---@field progressType string "timed" or "static"
|
||||
---@field expirationTime number Use with "timed" progressType; relative to GetTime()
|
||||
---@field duration number Use with "timed" progressType; total duration of the bar in seconds
|
||||
---@field value number Use with "static" progressType
|
||||
---@field maxValue number Use with "static" progressType
|
||||
---@field autoHide boolean Set to true to make the display automatically hide at the end of the "timed" progress. autoHide can also be used along with the "static" progressType by defining a duration and expirationTime along with the static value and total. While the static values will be displayed, the timed values will set the Hide time for the clone.
|
||||
---@field paused boolean Set to true (and set a remaining value) to pause a "timed" progress. Set to false (and recalculate the expirationTime value) to resume.
|
||||
---@field remaining number Only used with paused, gives WA the info needed to show paused progress at the current point.
|
||||
state = {}
|
||||
|
||||
---@meta
|
||||
|
||||
---[Source](https://github.com/WeakAuras/WeakAuras2/wiki/Trigger-State-Updater-%28TSU%29)
|
||||
---@class state
|
||||
---@field changed boolean Informs WeakAuras that the states values have changed. Always set this to true for states that were changed.
|
||||
---@field show boolean Controls whether the display is visible. Note, that states that have show set to false are automatically removed.
|
||||
---@field name string The name, returned by %n
|
||||
---@field icon number|string IconID or TexturePath, used in icons and progress bars
|
||||
---@field texture number|string IconID or TexturePath, used in textures
|
||||
---@field stacks number The stack count, returned by %s
|
||||
---@field index number|string Sets the order the output will display in a dynamic group (if sorting is set to "none" on the group). Strings or numbers are fine but DO NOT MIX TYPES!
|
||||
---@field progressType string "timed" or "static"
|
||||
---@field expirationTime number Use with "timed" progressType; relative to GetTime()
|
||||
---@field duration number Use with "timed" progressType; total duration of the bar in seconds
|
||||
---@field value number Use with "static" progressType
|
||||
---@field maxValue number Use with "static" progressType
|
||||
---@field autoHide boolean Set to true to make the display automatically hide at the end of the "timed" progress. autoHide can also be used along with the "static" progressType by defining a duration and expirationTime along with the static value and total. While the static values will be displayed, the timed values will set the Hide time for the clone.
|
||||
---@field paused boolean Set to true (and set a remaining value) to pause a "timed" progress. Set to false (and recalculate the expirationTime value) to resume.
|
||||
---@field remaining number Only used with paused, gives WA the info needed to show paused progress at the current point.
|
||||
state = {}
|
||||
|
||||
---@alias allstates table<number, state>
|
||||
Reference in New Issue
Block a user