WoW API: CalendarEventSetType

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API CalendarEventSetType to API CalendarEventSetType without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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