Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Saves the new event currently being created to the server.

C_Calendar.AddEvent()

Details[]

Example[]

Creates an event for tomorrow.

C_Calendar.CreatePlayerEvent()

local d = C_DateAndTime.GetCurrentCalendarTime()
C_Calendar.EventSetDate(d.month, d.monthDay+1, d.year)
C_Calendar.EventSetTime(d.hour, d.minute)
C_Calendar.EventSetTitle("hello")

C_Calendar.AddEvent()

Patch changes[]

Battle for Azeroth Patch 8.0.1 (2018-07-17): Moved to C_Calendar.AddEvent.
Wrath-Logo-Small Patch 3.0.2 (2008-10-14): Added as CalendarAddEvent.

Advertisement