ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
The[Calendar](https://wow.gamepedia.com/Calendar "Calendar")was added in[Patch 3.0.1](https://wow.gamepedia.com/Patch_3.0.1 "Patch 3.0.1"). HW[C\_Calendar.AddEvent](https://wow.gamepedia.com/API_C_Calendar.AddEvent "API C Calendar.AddEvent")() - Saves the new event currently being created to the server. [C\_Calendar.AreNamesReady](https://wow.gamepedia.com/API_C_Calendar.AreNamesReady "API C Calendar.AreNamesReady")() [C\_Calendar.CanAddEvent](https://wow.gamepedia.com/API_C_Calendar.CanAddEvent "API C Calendar.CanAddEvent")() - Returns whether the player can add an event. [C\_Calendar.CanSendInvite](https://wow.gamepedia.com/API_C_Calendar.CanSendInvite "API C Calendar.CanSendInvite")() - Returns whether the player can send invites. [C\_Calendar.CloseEvent](https://wow.gamepedia.com/API_C_Calendar.CloseEvent "API C Calendar.CloseEvent")() - Closes the selected event without saving it. [C\_Calendar.ContextMenuEventCanComplain](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCanComplain "API C Calendar.ContextMenuEventCanComplain")(offsetMonths, monthDay, eventIndex) - Returns whether the player can report the event as spam. [C\_Calendar.ContextMenuEventCanEdit](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCanEdit "API C Calendar.ContextMenuEventCanEdit")(offsetMonths, monthDay, eventIndex) - Returns whether the player can edit the event. [C\_Calendar.ContextMenuEventCanRemove](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCanRemove "API C Calendar.ContextMenuEventCanRemove")(offsetMonths, monthDay, eventIndex) - Returns whether the player can remove the event. [C\_Calendar.ContextMenuEventClipboard](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventClipboard "API C Calendar.ContextMenuEventClipboard")() [C\_Calendar.ContextMenuEventComplain](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventComplain "API C Calendar.ContextMenuEventComplain")() - Reports the event as spam. [C\_Calendar.ContextMenuEventCopy](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCopy "API C Calendar.ContextMenuEventCopy")() - Copies the event to the clipboard. [C\_Calendar.ContextMenuEventGetCalendarType](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventGetCalendarType "API C Calendar.ContextMenuEventGetCalendarType")() [C\_Calendar.ContextMenuEventPaste](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventPaste "API C Calendar.ContextMenuEventPaste")(offsetMonths, monthDay) - Pastes the clipboard event to the date. [C\_Calendar.ContextMenuEventRemove](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventRemove "API C Calendar.ContextMenuEventRemove")() - Deletes the event. [C\_Calendar.ContextMenuEventSignUp](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventSignUp "API C Calendar.ContextMenuEventSignUp")() [C\_Calendar.ContextMenuGetEventIndex](https://wow.gamepedia.com/API_C_Calendar.ContextMenuGetEventIndex "API C Calendar.ContextMenuGetEventIndex")() [C\_Calendar.ContextMenuInviteAvailable](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteAvailable "API C Calendar.ContextMenuInviteAvailable")() - Accepts the invitation to the event. [C\_Calendar.ContextMenuInviteDecline](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteDecline "API C Calendar.ContextMenuInviteDecline")() - Declines the invitation to the event. [C\_Calendar.ContextMenuInviteRemove](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteRemove "API C Calendar.ContextMenuInviteRemove")() - Removes the event from the calendar. [C\_Calendar.ContextMenuInviteTentative](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteTentative "API C Calendar.ContextMenuInviteTentative")() [C\_Calendar.ContextMenuSelectEvent](https://wow.gamepedia.com/API_C_Calendar.ContextMenuSelectEvent "API C Calendar.ContextMenuSelectEvent")(offsetMonths, monthDay, eventIndex) [C\_Calendar.CreateCommunitySignUpEvent](https://wow.gamepedia.com/API_C_Calendar.CreateCommunitySignUpEvent "API C Calendar.CreateCommunitySignUpEvent")() [C\_Calendar.CreateGuildAnnouncementEvent](https://wow.gamepedia.com/API_C_Calendar.CreateGuildAnnouncementEvent "API C Calendar.CreateGuildAnnouncementEvent")() [C\_Calendar.CreateGuildSignUpEvent](https://wow.gamepedia.com/API_C_Calendar.CreateGuildSignUpEvent "API C Calendar.CreateGuildSignUpEvent")() [C\_Calendar.CreatePlayerEvent](https://wow.gamepedia.com/API_C_Calendar.CreatePlayerEvent "API C Calendar.CreatePlayerEvent")() - Creates a new calendar event candidate for the player. [C\_Calendar.EventAvailable](https://wow.gamepedia.com/API_C_Calendar.EventAvailable "API C Calendar.EventAvailable")() - Accepts the invitation to the currently open event. [C\_Calendar.EventCanEdit](https://wow.gamepedia.com/API_C_Calendar.EventCanEdit "API C Calendar.EventCanEdit")() - Returns whether the event can be edited. [C\_Calendar.EventClearAutoApprove](https://wow.gamepedia.com/API_C_Calendar.EventClearAutoApprove "API C Calendar.EventClearAutoApprove")() - Turns off automatic confirmations. [C\_Calendar.EventClearLocked](https://wow.gamepedia.com/API_C_Calendar.EventClearLocked "API C Calendar.EventClearLocked")() - Unlocks the event. [C\_Calendar.EventClearModerator](https://wow.gamepedia.com/API_C_Calendar.EventClearModerator "API C Calendar.EventClearModerator")(inviteIndex) [C\_Calendar.EventDecline](https://wow.gamepedia.com/API_C_Calendar.EventDecline "API C Calendar.EventDecline")() - Declines the invitation to the currently open event. [C\_Calendar.EventGetCalendarType](https://wow.gamepedia.com/API_C_Calendar.EventGetCalendarType "API C Calendar.EventGetCalendarType")() [C\_Calendar.EventGetClubId](https://wow.gamepedia.com/API_C_Calendar.EventGetClubId "API C Calendar.EventGetClubId")() [C\_Calendar.EventGetInvite](https://wow.gamepedia.com/API_C_Calendar.EventGetInvite "API C Calendar.EventGetInvite")(eventIndex) - Returns status information for an invitee for the currently opened event. [C\_Calendar.EventGetInviteResponseTime](https://wow.gamepedia.com/API_C_Calendar.EventGetInviteResponseTime "API C Calendar.EventGetInviteResponseTime")(eventIndex) [C\_Calendar.EventGetInviteSortCriterion](https://wow.gamepedia.com/API_C_Calendar.EventGetInviteSortCriterion "API C Calendar.EventGetInviteSortCriterion")() [C\_Calendar.EventGetSelectedInvite](https://wow.gamepedia.com/API_C_Calendar.EventGetSelectedInvite "API C Calendar.EventGetSelectedInvite")() [C\_Calendar.EventGetStatusOptions](https://wow.gamepedia.com/API_C_Calendar.EventGetStatusOptions "API C Calendar.EventGetStatusOptions")(eventIndex) [C\_Calendar.EventGetTextures](https://wow.gamepedia.com/API_C_Calendar.EventGetTextures "API C Calendar.EventGetTextures")(eventType) [C\_Calendar.EventGetTypes](https://wow.gamepedia.com/API_C_Calendar.EventGetTypes "API C Calendar.EventGetTypes")() [C\_Calendar.EventGetTypesDisplayOrdered](https://wow.gamepedia.com/API_C_Calendar.EventGetTypesDisplayOrdered "API C Calendar.EventGetTypesDisplayOrdered")() [C\_Calendar.EventHasPendingInvite](https://wow.gamepedia.com/API_C_Calendar.EventHasPendingInvite "API C Calendar.EventHasPendingInvite")() - Returns whether the player has an unanswered invitation to the currently selected event. [C\_Calendar.EventHaveSettingsChanged](https://wow.gamepedia.com/API_C_Calendar.EventHaveSettingsChanged "API C Calendar.EventHaveSettingsChanged")() - Returns whether the currently opened event has been modified. [C\_Calendar.EventInvite](https://wow.gamepedia.com/API_C_Calendar.EventInvite "API C Calendar.EventInvite")("name") - Invites a player to the currently selected event. [C\_Calendar.EventRemoveInvite](https://wow.gamepedia.com/API_C_Calendar.EventRemoveInvite "API C Calendar.EventRemoveInvite")(inviteIndex) [C\_Calendar.EventSelectInvite](https://wow.gamepedia.com/API_C_Calendar.EventSelectInvite "API C Calendar.EventSelectInvite")(inviteIndex) [C\_Calendar.EventSetAutoApprove](https://wow.gamepedia.com/API_C_Calendar.EventSetAutoApprove "API C Calendar.EventSetAutoApprove")() [C\_Calendar.EventSetClubId](https://wow.gamepedia.com/API_C_Calendar.EventSetClubId "API C Calendar.EventSetClubId")(\["clubId"\]) [C\_Calendar.EventSetDate](https://wow.gamepedia.com/API_C_Calendar.EventSetDate "API C Calendar.EventSetDate")(month, monthDay, year) - Sets the date for the currently opened event. [C\_Calendar.EventSetDescription](https://wow.gamepedia.com/API_C_Calendar.EventSetDescription "API C Calendar.EventSetDescription")("description") [C\_Calendar.EventSetInviteStatus](https://wow.gamepedia.com/API_C_Calendar.EventSetInviteStatus "API C Calendar.EventSetInviteStatus")(eventIndex, status) - Sets the invitation status of a player to the current event. [C\_Calendar.EventSetLocked](https://wow.gamepedia.com/API_C_Calendar.EventSetLocked "API C Calendar.EventSetLocked")() [C\_Calendar.EventSetModerator](https://wow.gamepedia.com/API_C_Calendar.EventSetModerator "API C Calendar.EventSetModerator")(inviteIndex) [C\_Calendar.EventSetTextureID](https://wow.gamepedia.com/API_C_Calendar.EventSetTextureID "API C Calendar.EventSetTextureID")(textureIndex) [C\_Calendar.EventSetTime](https://wow.gamepedia.com/API_C_Calendar.EventSetTime "API C Calendar.EventSetTime")(hour, minute) - Sets the time for the currently opened event. [C\_Calendar.EventSetTitle](https://wow.gamepedia.com/API_C_Calendar.EventSetTitle "API C Calendar.EventSetTitle")("title") - Sets the title for the currently opened event. [C\_Calendar.EventSetType](https://wow.gamepedia.com/API_C_Calendar.EventSetType "API C Calendar.EventSetType")(typeIndex) - Sets the event type for the current calendar event. [C\_Calendar.EventSignUp](https://wow.gamepedia.com/API_C_Calendar.EventSignUp "API C Calendar.EventSignUp")() [C\_Calendar.EventSortInvites](https://wow.gamepedia.com/API_C_Calendar.EventSortInvites "API C Calendar.EventSortInvites")("criterion", reverse) [C\_Calendar.EventTentative](https://wow.gamepedia.com/API_C_Calendar.EventTentative "API C Calendar.EventTentative")() [C\_Calendar.GetClubCalendarEvents](https://wow.gamepedia.com/API_C_Calendar.GetClubCalendarEvents "API C Calendar.GetClubCalendarEvents")("clubId", startTime, endTime) [C\_Calendar.GetDayEvent](https://wow.gamepedia.com/API_C_Calendar.GetDayEvent "API C Calendar.GetDayEvent")(monthOffset, monthDay, index) - Retrieve information about the specified event. [C\_Calendar.GetDefaultGuildFilter](https://wow.gamepedia.com/API_C_Calendar.GetDefaultGuildFilter "API C Calendar.GetDefaultGuildFilter")() [C\_Calendar.GetEventIndex](https://wow.gamepedia.com/API_C_Calendar.GetEventIndex "API C Calendar.GetEventIndex")() [C\_Calendar.GetEventIndexInfo](https://wow.gamepedia.com/API_C_Calendar.GetEventIndexInfo "API C Calendar.GetEventIndexInfo")("eventID" \[, monthOffset, monthDay\]) [C\_Calendar.GetEventInfo](https://wow.gamepedia.com/API_C_Calendar.GetEventInfo "API C Calendar.GetEventInfo")() - Returns detailed information about an event. [C\_Calendar.GetFirstPendingInvite](https://wow.gamepedia.com/API_C_Calendar.GetFirstPendingInvite "API C Calendar.GetFirstPendingInvite")(offsetMonths, monthDay) [C\_Calendar.GetGuildEventInfo](https://wow.gamepedia.com/API_C_Calendar.GetGuildEventInfo "API C Calendar.GetGuildEventInfo")(index) [C\_Calendar.GetGuildEventSelectionInfo](https://wow.gamepedia.com/API_C_Calendar.GetGuildEventSelectionInfo "API C Calendar.GetGuildEventSelectionInfo")(index) [C\_Calendar.GetHolidayInfo](https://wow.gamepedia.com/API_C_Calendar.GetHolidayInfo "API C Calendar.GetHolidayInfo")(monthOffset, monthDay, index) - Returns seasonal holiday info. [C\_Calendar.GetMaxCreateDate](https://wow.gamepedia.com/API_C_Calendar.GetMaxCreateDate "API C Calendar.GetMaxCreateDate")() - Returns the last day supported by the Calendar API. [C\_Calendar.GetMinDate](https://wow.gamepedia.com/API_C_Calendar.GetMinDate "API C Calendar.GetMinDate")() - Returns the first day supported by the Calendar API. [C\_Calendar.GetMonthInfo](https://wow.gamepedia.com/API_C_Calendar.GetMonthInfo "API C Calendar.GetMonthInfo")(offsetMonths) - Returns information about the calendar month by offset. [C\_Calendar.GetNextClubId](https://wow.gamepedia.com/API_C_Calendar.GetNextClubId "API C Calendar.GetNextClubId")() [C\_Calendar.GetNumDayEvents](https://wow.gamepedia.com/API_C_Calendar.GetNumDayEvents "API C Calendar.GetNumDayEvents")(offsetMonths, monthDay) - Returns the number of events for a given day/month offset. [C\_Calendar.GetNumGuildEvents](https://wow.gamepedia.com/API_C_Calendar.GetNumGuildEvents "API C Calendar.GetNumGuildEvents")() [C\_Calendar.GetNumInvites](https://wow.gamepedia.com/API_C_Calendar.GetNumInvites "API C Calendar.GetNumInvites")() - Returns the number of invitees for the currently opened event. [C\_Calendar.GetNumPendingInvites](https://wow.gamepedia.com/API_C_Calendar.GetNumPendingInvites "API C Calendar.GetNumPendingInvites")() [C\_Calendar.GetRaidInfo](https://wow.gamepedia.com/API_C_Calendar.GetRaidInfo "API C Calendar.GetRaidInfo")(offsetMonths, monthDay, eventIndex) [C\_Calendar.IsActionPending](https://wow.gamepedia.com/API_C_Calendar.IsActionPending "API C Calendar.IsActionPending")() [C\_Calendar.MassInviteCommunity](https://wow.gamepedia.com/API_C_Calendar.MassInviteCommunity "API C Calendar.MassInviteCommunity")("clubId", minLevel, maxLevel \[, maxRankOrder\]) [C\_Calendar.MassInviteGuild](https://wow.gamepedia.com/API_C_Calendar.MassInviteGuild "API C Calendar.MassInviteGuild")(minLevel, maxLevel, maxRankOrder) [C\_Calendar.OpenCalendar](https://wow.gamepedia.com/API_C_Calendar.OpenCalendar "API C Calendar.OpenCalendar")() - Requests calendar information from the server. Does not open the calendar frame. [C\_Calendar.OpenEvent](https://wow.gamepedia.com/API_C_Calendar.OpenEvent "API C Calendar.OpenEvent")(offsetMonths, monthDay, index) - Establishes an event for future calendar API calls [C\_Calendar.RemoveEvent](https://wow.gamepedia.com/API_C_Calendar.RemoveEvent "API C Calendar.RemoveEvent")() - Removes the selected event from the calendar (invitees only). [C\_Calendar.SetAbsMonth](https://wow.gamepedia.com/API_C_Calendar.SetAbsMonth "API C Calendar.SetAbsMonth")(month, year) - Sets the reference month and year for functions which use a month offset. [C\_Calendar.SetMonth](https://wow.gamepedia.com/API_C_Calendar.SetMonth "API C Calendar.SetMonth")(offsetMonths) [C\_Calendar.SetNextClubId](https://wow.gamepedia.com/API_C_Calendar.SetNextClubId "API C Calendar.SetNextClubId")(\["clubId"\]) HW[C\_Calendar.UpdateEvent](https://wow.gamepedia.com/API_C_Calendar.UpdateEvent "API C Calendar.UpdateEvent")() - Saves the selected event. DEPRECATED (8.1.0)[C\_Calendar.GetDate](https://wow.gamepedia.com/API_C_Calendar.GetDate "API C Calendar.GetDate")()