World of Warcraft Forever API · LuaDurationManualClockAPI.md, for your AI
LuaDurationManualClockAPI (widget methods)
4 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
AdvanceTime
self:AdvanceTime(delta)
Advances the clock by a specified number of seconds.
Arguments
delta | Seconds |
|---|
ResetTime
self:ResetTime()
Resets the clock to a zero time value.
RewindTime
self:RewindTime(delta)
Rewinds the clock by a specified number of seconds.
Arguments
delta | Seconds |
|---|
SetTime
self:SetTime(time)
Sets the current clock timestamp to a given value.
Arguments
time | FrameTime |
|---|