WoW API: CalendarEventInvite

From AddOn Studio
Revision as of 18:45, 1 November 2008 by WoWWiki>MHoekstra (New page: {{wowapi}} :Add's a player to the currently opened event. CalendarEventInvite("player") == Parameters == === Arguments === :("player") :;player : String - The name of the player to be...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < CalendarEventInvite

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

Parameters

Arguments

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

Returns

nil

Details

Appearently, this function seems NOT to work within an addon. The following code, does not result in a proper invite:

function MyCreateEvent()
 CalendarNewEvent() -- Create a new Event
 CalendarEventSetDescription( "description" )
 CalendarEventSetTitle ("title")
 CalendarEventSetDate( 1,11,2008)
 CalendarEventSetTime( 20,00)
 CalendarAddEvent() -- Save the Event
 CalendarEventInvite( player )  -- < This does not work
end