-
Notifications
You must be signed in to change notification settings - Fork 1
/
StatsManager.lua
43 lines (32 loc) · 998 Bytes
/
StatsManager.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
---@meta
---@class StatsManager
STATSMAN = {}
--- Returns the accumulated played StageStats.
---@return StageStats
function STATSMAN:GetAccumPlayedStageStats() end
--- Returns the best final grade.
---@return Grade
function STATSMAN:GetBestFinalGrade() end
--- Returns the best grade.
---@return Grade
function STATSMAN:GetBestGrade() end
--- Returns the current StageStats.
---@return StageStats
function STATSMAN:GetCurStageStats() end
---@return StageStats
function STATSMAN:GetFinalEvalStageStats() end
--- Returns player `pn`'s final grade.
---@param pn PlayerNumber
function STATSMAN:GetFinalGrade(pn) end
--- Get the StageStats from `iAgo` rounds ago.
---@param iAgo integer
---@return StageStats
function STATSMAN:GetPlayedStageStats(iAgo) end
--- Returns the number of stages played.
---@return integer
function STATSMAN:GetStagesPlayed() end
--- Returns the worst grade.
---@return Grade
function STATSMAN:GetWorstGrade() end
--- Resets the stats.
function STATSMAN:Reset() end