Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Sets the event type for the current calendar event.
C_Calendar.EventSetType(typeIndex)
Arguments[]
- typeIndex
- enum - CalendarEventType
Value | Field | Description |
---|---|---|
0 | Raid | |
1 | Dungeon | |
2 | PvP | |
3 | Meeting | |
4 | Other | |
5 | HeroicDeprecated |
Details[]
- The calendar event must be previously opened with C_Calendar.OpenEvent or an event candidate from C_Calendar.CreatePlayerEvent.
- The calendar event is updated with C_Calendar.UpdateEvent or created with C_Calendar.AddEvent.
- If the event type is not set before creating with C_Calendar.AddEvent, it defaults to 1.
Patch changes[]
Patch 8.0.1 (2018-07-17): Moved to C_Calendar.EventSetType.
Patch 3.0.2 (2008-10-14): Added as CalendarEventSetType.