ChatPlexSDK-BS
1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
shared
CP_SDK
UI
Views
SettingsMainView.hpp
1
#pragma once
2
3
#include "../ViewController.hpp"
4
#include "../../XUI/XUI.hpp"
5
6
#include <map>
7
8
namespace
CP_SDK::UI::Views {
9
10
namespace
_u
11
{
12
using namespace
UnityEngine;
13
}
14
namespace
_v
15
{
16
using namespace
CP_SDK::Utils
;
17
using namespace
CP_SDK::XUI
;
18
}
19
21
class
SettingsMainView
:
public
ViewController
22
{
23
CP_SDK_IL2CPP_INHERIT(
"CP_SDK.UI.Views"
,
SettingsMainView
,
ViewController
);
24
CP_SDK_IL2CPP_DECLARE_CTOR_CHILD(
SettingsMainView
);
25
CP_SDK_IL2CPP_DECLARE_DTOR_MONOBEHAVIOUR_CHILD(
SettingsMainView
);
26
CP_SDK_UI_VIEW_CONTROLLER_INSTANCE();
27
28
private
:
29
std::map<IModuleBase*, Components::CToggle*> m_ModulesToggles;
30
31
private
:
33
void
OnViewCreation_Impl();
35
void
OnViewActivation_Impl();
36
37
private
:
41
void
OnModuleToggled(
IModuleBase
* p_Module,
bool
p_Enabled);
44
void
OnDocumentationButton(
IModuleBase
* p_Module);
45
46
private
:
49
void
CheckChatTutorial(
IModuleBase
* p_Module);
50
51
};
52
53
}
54
55
CP_SDK_IL2CPP_INHERIT_HELPERS(
CP_SDK::UI::Views::SettingsMainView
);
CP_SDK::IModuleBase
Module base interface.
Definition
ModuleBase.hpp:43
CP_SDK::UI::ViewController
IViewController interface.
Definition
ViewController.hpp:30
CP_SDK::UI::Views::SettingsMainView
Settings main view controller.
Definition
SettingsMainView.hpp:22
CP_SDK::Utils
Various platform utils like Delegate/Action/Function/Event system.
Definition
Delegate.hpp:8
CP_SDK::XUI
Tree like syntax CP_SDK::UI builder.
Definition
IXUIBindable.hpp:5
Generated by
1.9.8