WoW API: CalendarEventInvite

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API CalendarEventInvite to API CalendarEventInvite without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < CalendarEventInvite

Add's a player to the currently opened event.
CalendarEventInvite("player")

ParametersEdit

ArgumentsEdit

("player")
player
String - The name of the player to be invited to the event

ReturnsEdit

nil

NotesEdit

You can't do invites while another calendar action is pending. Register to the event "CALENDAR_ACTION_PENDING" and using that, check with the CalendarCanSendInvite function if you can invite.

Inviting a player who is already on the invitation list will result in a "<Player> has already been invited." dialog box appearing.