Refactor calendar context functions to use parameter aliases for improved clarity
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@return 1 monthOffset
|
||||
---@return -1
|
||||
---@return 0
|
||||
---@return 1
|
||||
---@return monthOffset monthOffset
|
||||
---@return number day
|
||||
---@return number index
|
||||
---Returns the month, day, and index of the event selection used only for CalendarContext functions. The selection state referenced by this function is used only by other CalendarContext functions; other calendar event functions use the selection state set by CalendarOpenEvent, CalendarNewEvent, CalendarNewGuildEvent, or CalendarNewGuildAnnouncement (if they use a selection state at all). Used in the default UI to implement the calendar's context menu (on right-click).
|
||||
---Returns the month, day, and index of the event selection used only for CalendarContext functions. The selection state referenced by this function
|
||||
---is used only by other CalendarContext functions; other calendar event functions use the selection state set by CalendarOpenEvent, CalendarNewEvent,
|
||||
---CalendarNewGuildEvent, or CalendarNewGuildAnnouncement (if they use a selection state at all). Used in the default UI to implement the
|
||||
---calendar's context menu (on right-click).
|
||||
function CalendarContextGetEventIndex() end
|
||||
|
Reference in New Issue
Block a user