ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
Scoring.hpp
1#pragma once
2
3#include "../../CP_SDK/Utils/Il2cpp.hpp"
4#include "../../CP_SDK/Utils/MonoPtr.hpp"
5
6namespace CP_SDK_BS::Game {
7
9 class Scoring
10 {
11 CP_SDK_NO_DEF_CTORS(Scoring);
12
13 using t_BeatLeaderIsInReplay = std::optional<bool(*)()>;
14 private:
15 static bool m_Init;
16
17 static bool m_IsScoreSaberPresent;
18 static bool m_IsInScoreSaberReplay;
19
20 static bool m_IsBeatLeaderPresent;
21 static t_BeatLeaderIsInReplay m_BeatLeaderIsInReplayFN;
22
23 public:
24 static bool IsScoreSaberPresent();
25 static bool IsBeatLeaderPresent();
26
27 static bool IsInReplay();
28
29 public:
31 static bool ScoreSaber_IsInReplay();
32
33 public:
35 static bool BeatLeader_IsInReplay();
38
39 public:
41 static void Init();
42
43 public:
46 static void __SetScoreSaberIsInReplay(bool p_Is);
47
48 };
49
50}
static void __SetScoreSaberIsInReplay(bool p_Is)
Set score saber is in replay.
static bool ScoreSaber_IsInReplay()
Is in ScoreSaber replay.
static void Init()
Init scoring utils.
static bool BeatLeader_IsInReplay()
Is in BeatLeader replay.
static void BeatLeader_ManualWarmUpSubmission()
Warmup BeatLeader score submission.
Game specific helper and utilities.
Definition MapDetail.hpp:12