ChatPlexSDK-BS
1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerations
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
z
~
Variables
b
d
g
i
m
o
p
r
s
t
Enumerations
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Concepts
Loading...
Searching...
No Matches
shared
CP_SDK
UI
Modals
Confirmation.hpp
1
#pragma once
2
3
#include "../IModal.hpp"
4
#include "../../XUI/XUI.hpp"
5
6
namespace
CP_SDK::UI::Modals
{
7
8
namespace
_u
9
{
10
using namespace
UnityEngine;
11
using namespace
UnityEngine::UI;
12
}
13
namespace
_v
14
{
15
using namespace
CP_SDK::Utils
;
16
using namespace
CP_SDK::XUI
;
17
}
18
20
class
Confirmation
:
public
IModal
21
{
22
CP_SDK_IL2CPP_INHERIT(
"CP_SDK.UI.Modals"
,
Confirmation
,
IModal
);
23
CP_SDK_IL2CPP_DECLARE_CTOR_CHILD(
Confirmation
);
24
CP_SDK_IL2CPP_DECLARE_DTOR_MONOBEHAVIOUR_CHILD(
Confirmation
);
25
26
private
:
27
_v::XUIText::Ptr m_Message;
28
_v::Action<bool>
m_Callback;
29
30
private
:
32
void
Impl_OnShow();
34
void
Impl_OnClose();
35
36
public
:
40
void
Init
(std::u16string_view p_Message,
_v::CActionRef<bool>
p_Callback);
41
42
private
:
44
void
OnYesButton();
46
void
OnNoButton();
47
48
};
20
class
Confirmation
:
public
IModal
{
…
};
49
50
}
51
52
CP_SDK_IL2CPP_INHERIT_HELPERS(
CP_SDK::UI::Modals::Confirmation
);
CP_SDK::UI::IModal
Abstract base modal component.
Definition
IModal.hpp:22
CP_SDK::UI::Modals::Confirmation
Confirmation modal.
Definition
Confirmation.hpp:21
CP_SDK::UI::Modals::Confirmation::Init
void Init(std::u16string_view p_Message, _v::CActionRef< bool > p_Callback)
Init.
CP_SDK::Utils::Delegate< void(t_Args...)>
CP_SDK::UI::Modals
Built-in modals.
Definition
ColorPicker.hpp:6
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