-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMusicWheel.lua
38 lines (30 loc) · 1.01 KB
/
MusicWheel.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---@meta
---@diagnostic disable: redundant-parameter
---@class MusicWheel : WheelBase
---@overload fun(self: MusicWheel): self
---@field [string] fun(self: MusicWheel)
MusicWheel = {}
--- Changes the sort order of the wheel. Returns `true` if the order was changed.
---@param so SortOrder
---@return boolean
function MusicWheel:ChangeSort(so) end
---
---@return string[]
function MusicWheel:GetCurrentSections() end
--- Returns the name of the currently selected section.
---@return string
function MusicWheel:GetSelectedSection() end
--- Returns `true` if the MusicWheel is currently handling Roulette selection.
---@return boolean
function MusicWheel:IsRouletting() end
---
---@param direction integer
function MusicWheel:Move(direction) end
--- Selects a course. Returns `false` on failure.
---@param cCourse Course
---@return boolean
function MusicWheel:SelectCourse(cCourse) end
--- Selects a song. Returns `false` on failure.
---@param sSong SongObject
---@return boolean
function MusicWheel:SelectSong(sSong) end