ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
CPConfig.hpp
1#pragma once
2
3#include "Config/JsonConfig.hpp"
4
5namespace CP_SDK {
6
9 {
10 CP_SDK_CONFIG_JSONCONFIG_INSTANCE_DECL(CPConfig);
11
12 public:
13 bool FirstRun = true;
14 bool FirstChatServiceRun = true;
15
16 protected:
18 void Reset_Impl() override;
19
20 protected:
27
28 protected:
30 virtual std::filesystem::path GetRelativePath() override;
31
32 protected:
35 virtual void OnInit(bool p_OnCreation) override;
36
37 };
38
39}
ChatPlex SDK config.
Definition CPConfig.hpp:9
virtual void OnInit(bool p_OnCreation) override
On config init.
CP_SDK_JSON_UNSERIALIZE_DECL() override
Read the document.
void Reset_Impl() override
Reset config to default.
CP_SDK_JSON_SERIALIZE_DECL() override
Write the document.
virtual std::filesystem::path GetRelativePath() override
Get relative config path.
ChatPlex SDK game agnostic namepace.