WoW API: CalendarOpenEvent

From AddOn Studio
Revision as of 18:01, 23 October 2008 by WoWWiki>Butai (New page: {{wowapi}} __NOTOC__ Establishes an event for future calendar calls CalendarOpenEvent(monthOffset, day, eventIndex) == Arguments == :(monthOffset, day, eventIndex) :;monthOffset : Nu...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < CalendarOpenEvent

Establishes an event for future calendar calls

CalendarOpenEvent(monthOffset, day, eventIndex)


Arguments

(monthOffset, day, eventIndex)
monthOffset
Number - The number of months to offset from today
day
Number - The number of days to offset from today
eventIndex
Number - The index of the desired event, From 1 through CalendarGetNumDayEvents(monthOffset, day)

Details

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