ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
SettingsMainView.hpp
1#pragma once
2
3#include "../ViewController.hpp"
4#include "../../XUI/XUI.hpp"
5
6#include <map>
7
8namespace 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
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
55CP_SDK_IL2CPP_INHERIT_HELPERS(CP_SDK::UI::Views::SettingsMainView);
Module base interface.
IViewController interface.
Settings main view controller.
Various platform utils like Delegate/Action/Function/Event system.
Definition Delegate.hpp:8
Tree like syntax CP_SDK::UI builder.