API C_Calendar.AddEvent

From Wowpedia
Jump to: navigation, search

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

See also