ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
ModMenuView.hpp
1#pragma once
2
3#include "../ViewController.hpp"
4#include "../ModButton.hpp"
5#include "../../XUI/XUI.hpp"
6
7#include <map>
8
9namespace CP_SDK::UI::Views {
10
11 namespace _u
12 {
13 using namespace UnityEngine;
14 }
15 namespace _v
16 {
17 using namespace CP_SDK::UI::Components;
18 using namespace CP_SDK::Utils;
19 using namespace CP_SDK::XUI;
20 }
21
24 {
25 CP_SDK_IL2CPP_INHERIT("CP_SDK.UI.Views", ModMenuView, ViewController);
26 CP_SDK_IL2CPP_DECLARE_CTOR_CHILD(ModMenuView);
27 CP_SDK_IL2CPP_DECLARE_DTOR_MONOBEHAVIOUR_CHILD(ModMenuView);
28 CP_SDK_UI_VIEW_CONTROLLER_INSTANCE();
29
30 private:
31 std::map<ModButton::Ptr, _v::MonoPtr<_v::CPOrSButton>> m_Buttons;
32 _v::XUIGLayout::Ptr m_GLayout;
33
34 private:
36 void OnViewCreation_Impl();
38 void OnViewActivation_Impl();
39
40 public:
42 void Refresh();
43
44 };
45
46}
47
48CP_SDK_IL2CPP_INHERIT_HELPERS(CP_SDK::UI::Views::ModMenuView);
IViewController interface.
Mod menu view controller.
void Refresh()
Refresh buttons.
Generic UI components.
Various platform utils like Delegate/Action/Function/Event system.
Definition Delegate.hpp:8
Tree like syntax CP_SDK::UI builder.