WoW:API CalendarAddEvent: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API CalendarAddEvent to API CalendarAddEvent without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} {{protectedhwapi|3.0.3}}
 
Saves the new event currently being created to the WoW server.
:Saves the current event to the WoW server.
:This works only for new events!
 
  CalendarAddEvent()
  CalendarAddEvent()
== Parameters ==
=== Arguments ===
:No Arguments
=== Returns ===
:''nil''


== Details ==
== Details ==
:Saves the event or announcement created by: [[ :API CalendarNewEvent|CalendarNewEvent]] or [[ :API CalendarNewGuildWideEvent|CalendarNewGuildWideEvent]] having the information set by: [[ :API CalendarEventSetDate|CalendarEventSetDate ]], [[ :API CalendarEventSetDescription|CalendarEventSetDescription ]], [[ :API CalendarEventSetRepeatOption|CalendarEventSetRepeatOption]], [[ :API CalendarEventSetTime|CalendarEventSetTime ]], [[ :API CalendarEventSetTitle|CalendarEventSetTitle]] and [[ :API CalendarEventSetType|CalendarEventSetType ]]
* Saves the event or announcement created by: {{api|CalendarNewEvent}} or {{api|CalendarNewGuildWideEvent}}
 
* Event information can be altered prior to saving using {{api|CalendarEventSetDate}}, {{api|CalendarEventSetDescription}}, {{api|CalendarEventSetRepeatOption}}, {{api|CalendarEventSetTime}}, {{api|CalendarEventSetTitle}}, and {{api|CalendarEventSetType}}.
:NOTE! When you are updating an existing event use [[ :API CalendarUpdateEvent|CalendarUpdateEvent]]
* This function is only used to create '''new''' events. To save changes to existing events, use {{api|CalendarUpdateEvent}}()
 
 
----
__NOTOC__

Latest revision as of 04:45, 15 August 2023

WoW API < CalendarAddEvent

Saves the new event currently being created to the WoW server.

CalendarAddEvent()

Details[edit]