WoW API < CalendarOpenEvent

Establishes an event for future calendar calls

CalendarOpenEvent(monthOffset, day, eventIndex)


Arguments[edit | edit source]

(monthOffset, day, eventIndex)
monthOffset 
Number - The number of months to offset from today
day 
Number - The day of the month on which the desired event is scheduled (1 - 31)
eventIndex 
Number - The index of the desired event, From 1 through CalendarGetNumDayEvents(monthOffset, day)

Details[edit | edit source]

You must call this function before making calls to CalendarEventGetNumInvites() and CalendarEventGetInvite(). CalendarOpenEvent() tells the application which event you're working with. Presumably this is to reduce memory usage and load on the server

Community content is available under CC-BY-SA unless otherwise noted.