Refactor calendar context functions to improve documentation clarity and parameter usage
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@param monthOffset CalendarContextSelectEvent
|
||||
---@param -1
|
||||
---@param 0
|
||||
---@param 1
|
||||
---@param nil CalendarContextSelectEvent
|
||||
---@param day number
|
||||
---@param index number
|
||||
---@return 2 inviteType
|
||||
---@return 1
|
||||
---@return 2
|
||||
---@alias inviteType
|
||||
---| 1 Characters can only be explicitly invited to the event (or event is a non-invite/non-signup event)
|
||||
---| 2 Event is visible to the player's entire guild; guild members can sign up and other characters can be explicitly invited
|
||||
|
||||
---@param monthOffset monthOffset
|
||||
---@param day number
|
||||
---@param index number
|
||||
---@return inviteType
|
||||
---Returns the invite type for an event
|
||||
function CalendarContextInviteType(monthOffset, -1, 0, 1, nil, day, index) end
|
||||
function CalendarContextInviteType(monthOffset, day, index) end
|
||||
|
||||
Reference in New Issue
Block a user