ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
TopNavigationView.hpp
1#pragma once
2
3#include "../ViewController.hpp"
4#include "../../XUI/XUI.hpp"
5
6namespace CP_SDK::UI::Views {
7
8 namespace _u
9 {
10 using namespace UnityEngine;
11 }
12 namespace _v
13 {
14 using namespace CP_SDK::Utils;
15 using namespace CP_SDK::XUI;
16 }
17
20 {
21 CP_SDK_IL2CPP_INHERIT("CP_SDK.UI.Views", TopNavigationView, ViewController);
22 CP_SDK_IL2CPP_DECLARE_CTOR_CHILD(TopNavigationView);
23 CP_SDK_IL2CPP_DECLARE_DTOR_MONOBEHAVIOUR_CHILD(TopNavigationView);
24 CP_SDK_UI_VIEW_CONTROLLER_INSTANCE();
25
26 private:
27 _v::XUIText::Ptr m_Title;
28
29 public:
30 _v::Event<> OnBackButton;
31
32 private:
34 void OnViewCreation_Impl();
35
36 public:
39 void SetTitle(std::u16string_view p_Title);
40
41 private:
43 void OnBackButtonPressed();
44
45 };
46
47}
48
49CP_SDK_IL2CPP_INHERIT_HELPERS(CP_SDK::UI::Views::TopNavigationView);
IViewController interface.
void SetTitle(std::u16string_view p_Title)
Set title.
Event class helper.
Definition Event.hpp:100
Various platform utils like Delegate/Action/Function/Event system.
Definition Delegate.hpp:8
Tree like syntax CP_SDK::UI builder.