WoW API: CalendarEventSetType

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API CalendarEventSetType to API CalendarEventSetType without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < CalendarEventSetType

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

Parameters

Arguments

(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

nil

Details

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