WoW API: CalendarEventSetType

From AddOn Studio
Revision as of 15:02, 27 October 2008 by WoWWiki>MHoekstra (New page: {{wowapi}} :Sets the Event type of the current Opened event CalendarEventSetType(type) == Parameters == === Arguments === :(type) :;type: Number - The number of the Event Type, or one...)
(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

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