WowAddons

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

TimedSignalMapAPI (widget methods)

8 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

CancelAllSignals

self:CancelAllSignals()

Cancels all scheduled signals.

CancelSignal

self:CancelSignal(key)

Cancels the scheduled signal for the specified key, if one exists.

Arguments

keynumberKey to cancel. No effect if the key is not scheduled.

GetNextSignal

key, time = self:GetNextSignal()

Returns the next key due to signal along with its scheduled time.

Returns

keynumberThe key that has been scheduled.
timeFrameTimeAbsolute time, on the same clock as GetTime(), at which the key is scheduled to signal.

GetSignalCount

count = self:GetSignalCount()

Returns the number of keys currently scheduled to signal.

Returns

countsizeCount of scheduled keys.

GetSignalTime

time = self:GetSignalTime(key)

Returns the absolute time at which the specified key is scheduled to signal.

Arguments

keynumberKey to query.

Returns

timeFrameTime may be nilAbsolute time the key will signal; nil if not scheduled.

HasSignal

hasSignal = self:HasSignal(key)

Returns whether the specified key is currently scheduled to signal.

Arguments

keynumberKey to test.

Returns

hasSignalboolTrue if the key is scheduled to signal.

SignalAfter

self:SignalAfter(key, secondsFromNow)

Schedules the specified key to signal after a delay from the current time, replacing any existing schedule for that key.

Arguments

keynumberKey to signal. Re-scheduling an existing key replaces its time.
secondsFromNowSecondsDelay in seconds from now, converted to an absolute time when scheduled.

SignalAt

self:SignalAt(key, time)

Schedules the specified key to signal at an absolute time, replacing any existing schedule for that key.

Arguments

keynumberKey to signal. Re-scheduling an existing key replaces its time.
timeFrameTimeAbsolute time at which to signal, on the same clock as GetTime().

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