Wowpedia
Advertisement
Wowpedia
240,505
pages
Game Flavors
Links
Patch
Added in 8.0.1

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

Advertisement