WoW API: CalendarAddEvent

From AddOn Studio
Jump to navigation Jump to search

WoW API < CalendarAddEvent

Saves the current event to the WoW server.
This works only for new events!
CalendarAddEvent()

Parameters

Arguments

No Arguments

Returns

nil

Details

Saves the event or announcement created by: CalendarNewEvent or CalendarNewGuildWideEvent having the information set by: CalendarEventSetDate , CalendarEventSetDescription , CalendarEventSetRepeatOption, CalendarEventSetTime , CalendarEventSetTitle and CalendarEventSetType
NOTE! When you are updating an existing event use CalendarUpdateEvent
NOTE! In patch 3.0.3, this must be called as the result of a hardware event. Addons are blocked from using this call without a user action. Also, CalendarEventSetRepeatOption is unnecessary. jokeyrhyme (talk) 01:35, 31 December 2008 (UTC)