ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
IScreen.hpp
1#pragma once
2
3#include "UIIl2cpp.hpp"
4
5#include <UnityEngine/MonoBehaviour.hpp>
6
7namespace CP_SDK::UI {
8
9 namespace _u
10 {
11 using namespace UnityEngine;
12 }
13 namespace _v
14 {
15 using namespace CP_SDK::Utils;
16 }
17
19 enum class EScreenSlot
20 {
21 Left,
22 Middle,
23 Right
24 };
25
26 class IViewController;
27
29 class IScreen : public _u::MonoBehaviour
30 {
31 CP_SDK_IL2CPP_INHERIT("CP_SDK.UI", IScreen, _u::MonoBehaviour);
32 CP_SDK_IL2CPP_DECLARE_CTOR(IScreen);
33 CP_SDK_IL2CPP_DECLARE_DTOR_MONOBEHAVIOUR(IScreen);
34
35 protected:
36 _v::Delegate<void(_v::CMonoPtrRef<IViewController>)> m_SetViewController;
37
38 public:
39 UIFieldRefDel<IViewController> CurrentViewController;
40
41 public:
45
46 };
47
48}
49
50CP_SDK_IL2CPP_INHERIT_HELPERS(CP_SDK::UI::IScreen);
Abstract screen.
Definition IScreen.hpp:30
void SetViewController(_v::CMonoPtrRef< IViewController > p_ViewController)
Replace active view controller.
Delegate helper class.
Definition Delegate.hpp:123
User interface components, views, flow coordinator, builders and factories.
EScreenSlot
Screen slot enum.
Definition IScreen.hpp:20
Various platform utils like Delegate/Action/Function/Event system.
Definition Delegate.hpp:8