WowAddons

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

C_EventScheduler

11 functions, 1 events, 3 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

C_EventScheduler.CanShowEvents

canShow = C_EventScheduler.CanShowEvents()

Returns true if there are any events eligible to show for the player.

Returns

canShowbool

C_EventScheduler.ClearReminder

C_EventScheduler.ClearReminder(eventKey)

Clears reminder on a scheduled event. Must use endTime to identify which specific instance in the case of repeating ones.

Arguments

eventKeystring

C_EventScheduler.GetActiveContinentName

name = C_EventScheduler.GetActiveContinentName()

Returns the name of the continent with current events

May return nothing.

Returns

namestring

C_EventScheduler.GetEventUiMapID

uiMapID = C_EventScheduler.GetEventUiMapID(areaPoiID)

Will try to figure out a UiMap for an areaPOI.

Arguments

areaPoiIDnumber

Returns

uiMapIDnumber may be nil

C_EventScheduler.GetEventZoneName

name = C_EventScheduler.GetEventZoneName(areaPoiID)

Will try to figure out a map zone name for an areaPOI

Arguments

areaPoiIDnumber

Returns

namestring may be nil

C_EventScheduler.GetOngoingEvents

events = C_EventScheduler.GetOngoingEvents()

Will request data from the server on a throttle

May return nothing.

Returns

eventsOngoingEventInfo[]

C_EventScheduler.GetScheduledEvents

events = C_EventScheduler.GetScheduledEvents()

Will request data from the server on a throttle

May return nothing.

Returns

eventsScheduledEventInfo[]

C_EventScheduler.HasData

hasData = C_EventScheduler.HasData()

True if the server sent a list, even if the list had 0 events.

Returns

hasDatabool

C_EventScheduler.HasSavedReminders

hasSavedReminders = C_EventScheduler.HasSavedReminders()

Returns whether there are any event reminders saved. Can include reminders that have expired since set and haven't gotten removed yet. Has to be called after cvars are loaded.

Returns

hasSavedRemindersbool

C_EventScheduler.RequestEvents

C_EventScheduler.RequestEvents()

Requests events from the server, subject to throttle

C_EventScheduler.SetReminder

C_EventScheduler.SetReminder(eventKey)

Sets reminder on a scheduled event. Must use endTime to identify which specific instance in the case of repeating ones.

Arguments

eventKeystring

Events

EVENT_SCHEDULER_UPDATE

No payload.

Tables

EventDisplayInfo structure

hideTimeLeftbool default false
hideDescriptionbool default false
overrideAtlastextureAtlas may be nil
overrideTooltipWidgetSetIDnumber may be nil

OngoingEventInfo structure

areaPoiIDnumber
rewardsClaimedbool default false
displayInfoEventDisplayInfo

ScheduledEventInfo structure

eventKeystring
eventIDnumber
areaPoiIDnumber
startTimetime_t
endTimetime_t
durationtime_t
hasReminderbool default false
rewardsClaimedbool default false
displayInfoEventDisplayInfo

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