Files
wow_Meta/api/CalendarGetDayEvent.lua

31 lines
1.3 KiB
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@alias sequenceType
---| "END" Last day of the event
---| "INFO" An additional specially-labeled day related the event
---| "ONGOING" Continuation of the event
---| "START" First day of the event
---@alias difficulty
---| 1 Normal
---| 2 Heroic
---@param monthOffset monthOffset
---@param day number
---@param index number #Index of an event on the given day (from 1 to CalendarGetNumDayEvents()) (number)
---@return string title
---@return number hour
---@return number minute
---@return calendarType calendarType
---@return sequenceType sequenceType
---@return number eventType
---@return number texture
---@return modStatus modStatus
---@return inviteStatus inviteStatus
---@return string invitedBy
---@return difficulty difficulty
---@return inviteType inviteType
---Returns information about a calendar event on a given day. Information can only be retrieved for events which might be visible in the calendar's current month -- i.e. those in the current month as well as those in (roughly) the last week of the previous month and (roughly) the first two weeks of the following month. To reliably retrieve information for events outside the calendar's current month, first change the calendar's month with CalendarSetMonth.
function CalendarGetDayEvent(monthOffset, day, index) end