C_Calendar.EventInvite

From Warcraft Wiki
Jump to navigation Jump to search

Invites a player to the currently selected event.

C_Calendar.EventInvite(name)

Arguments

name
string

Details

  • You can't do invites while another calendar action is pending.
  • Register to the event "CALENDAR_ACTION_PENDING" and using that, check with C_Calendar.CanSendInvite 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.

Patch changes

Battle for Azeroth Patch 8.0.1 (2018-07-17): Moved to C_Calendar.EventInvite.
Wrath-Logo-Small.png Patch 3.0.2 (2008-10-14): Added as CalendarEventInvite.