Files
wow_Meta/api/CalendarContextEventCanComplain.lua

17 lines
692 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@alias monthOffset
---| -1 month preceding the calendar's current month
---| 0 The calendar's current month (i.e. same month as CalendarGetMonth())
---| 1 month after the calendar's current month
---| nil Use the event selected by CalendarContextSelectEvent and ignore further arguments
---@param monthOffset monthOffset
---@param day number
---@param index number
---@return boolean canReport
---Returns whether the player can report an event invitation as spam. If all arguments are omitted
---uses the event selected by CalendarContextSelectEvent.
function CalendarContextEventCanComplain(monthOffset, day, index) end