API C_Calendar.GetDayEvent

From Wowpedia
Jump to: navigation, search

Retrieve information about the specified event.

event = C_Calendar.GetDayEvent(monthOffset, monthDay, index)

Arguments

monthOffset 
number - the number of months to offset from today.
monthDay 
number - the desired day of the month the event exists on.
index 
number - the index of the desired event, from 1 through C_Calendar.GetNumDayEvents.

Returns

event 
structure - CalendarDayEvent
CalendarDayEvent
Key Type Description
eventID string
title string
isCustomTitle boolean
startTime structure CalendarTime
endTime structure CalendarTime
calendarType string const CALENDARTYPE
sequenceType string "START", "END", "", "ONGOING" [1]
eventType number enum CalendarEventType; The type of event, as specified by C_Calendar.EventSetType
iconTexture number (nilable)
modStatus string "MODERATOR", "CREATOR" [2]
inviteStatus number const CALENDAR_INVITESTATUS
invitedBy string
difficulty number
inviteType number const CALENDAR_INVITETYPE
sequenceIndex number
numSequenceDays number
difficultyName string
dontDisplayBanner boolean
dontDisplayEnd boolean
clubID string
isLocked boolean

Patch changes

See also