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 MODERATOR modStatus
|
||||
---@return CREATOR
|
||||
---@return MODERATOR
|
||||
---@alias modStatus #The player's level of authority for the event, or "" if not applicable
|
||||
---| "MODERATOR" The player has been granted moderator status for the event
|
||||
---| "CREATOR" The player is the original creator of the event
|
||||
|
||||
---@param monthOffset monthOffset
|
||||
---@param day number
|
||||
---@param index number
|
||||
---@return modStatus modStatus
|
||||
---Returns the player's moderator status for an event
|
||||
function CalendarContextInviteModeratorStatus(monthOffset, -1, 0, 1, nil, day, index) end
|
||||
function CalendarContextInviteModeratorStatus(monthOffset, day, index) end
|
||||
|
Reference in New Issue
Block a user