-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPlayerState.lua
56 lines (43 loc) · 1.78 KB
/
PlayerState.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---@meta
---@class PlayerState
PlayerState = {}
--- Applies the player options of ModsLevel_Preferred to the other ModsLevels.
function PlayerState:ApplyPreferredOptionsToOtherLevels() end
--- Returns the current PlayerOptions for this PlayerState.
---@return PlayerOptions
function PlayerState:GetCurrentPlayerOptions() end
--- Returns the HealthState for this PlayerState.
---@return HealthState
function PlayerState:GetHealthState() end
--- Returns the multiplayer number for this PlayerState.
---@return MultiPlayer
function PlayerState:GetMultiPlayerNumber() end
--- Returns the PlayerController for this PlayerState.
---@return PlayerController
function PlayerState:GetPlayerController() end
--- Returns the Player number for this PlayerState.
---@return PlayerNumber
function PlayerState:GetPlayerNumber() end
--- Returns a PlayerOptions object for the specified ModsLevel.
---@param ml ModsLevel
---@return PlayerOptions
function PlayerState:GetPlayerOptions(ml) end
--- Returns a string of player options for the specified ModsLevel.
--- (Was GetPlayerOptions before sm-ssc v1.2.3)
---@param ml ModsLevel
---@return string
function PlayerState:GetPlayerOptionsString(ml) end
--- Returns a table of strings, containing the player options for the specified ModsLevel.
---@param ml ModsLevel
---@return string[]
function PlayerState:GetPlayerOptionsArray(ml) end
--- Returns the SongPosition for this PlayerState.
---@return SongPosition
function PlayerState:GetSongPosition() end
--- Returns the current Super Meter level for this PlayerState.
---@return number
function PlayerState:GetSuperMeterLevel() end
--- Sets the player options to `sPlayerOptions` for the specified ModsLevel.
--- @param ml ModsLevel
--- @param sPlayerOptions string
function PlayerState:SetPlayerOptions(ml, sPlayerOptions) end