WoW:API CalendarAddEvent: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
:NOTE! When you are updating an existing event use [[ :API CalendarUpdateEvent|CalendarUpdateEvent]]
:NOTE! When you are updating an existing event use [[ :API CalendarUpdateEvent|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, [[ :API CalendarEventSetRepeatOption|CalendarEventSetRepeatOption]] is unnecessary. [[User:Jokeyrhyme|jokeyrhyme]] ([[User talk:Jokeyrhyme|talk]]) 01:35, 31 December 2008 (UTC)


----
----
__NOTOC__
__NOTOC__

Revision as of 01:35, 31 December 2008

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)