WoW API: CalendarEventSetType

From AddOn Studio
Jump to navigation Jump to search

WoW API < CalendarEventSetType

Sets the Event type of the current Opened event
CalendarEventSetType(type)

Parameters[edit]

Arguments[edit]

(type)
type
Number - The number of the Event Type, or one of the CALENDAR_EVENTTYPE defininitions

CALENDAR_EVENTTYPE_RAID = 1

CALENDAR_EVENTTYPE_DUNGEON = 2
CALENDAR_EVENTTYPE_PVP = 3
CALENDAR_EVENTTYPE_MEETING = 4
CALENDAR_EVENTTYPE_OTHER = 5

Returns[edit]

nil

Details[edit]

Changes the Event Type to an Event which was opened with: CalendarNewEvent, CalendarNewGuildWideEvent or CalendarOpenEvent