World of Warcraft Forever API · MirrorTimer.md, for your AI
MirrorTimer (global functions)
2 functions, 1 tables, 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
GetMirrorTimerInfo
name, startValue, maxValue, scale, paused, label, spellID = GetMirrorTimerInfo(timerIndex)
May return nothing.
Arguments
timerIndex | luaIndex |
|---|
Returns
name | cstring | |
|---|---|---|
startValue | number | |
maxValue | number | |
scale | number | |
paused | number | |
label | cstring | |
spellID | number |
GetMirrorTimerProgress
progress = GetMirrorTimerProgress(timerName)
Arguments
timerName | cstring |
|---|
Returns
progress | number may be nil |
|---|
Tables
MirrorTimerInfo structure
name | cstring | |
|---|---|---|
startValue | number | |
maxValue | number | |
scale | number | |
paused | number | |
label | cstring | |
spellID | number |