ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
CColorInput.hpp
1#pragma once
2
3#include "../UIIl2cpp.hpp"
4
5#include <UnityEngine/MonoBehaviour.hpp>
6#include <UnityEngine/RectOffset.hpp>
7#include <UnityEngine/UI/LayoutElement.hpp>
8
10
11 namespace _u
12 {
13 using namespace UnityEngine;
14 using namespace UnityEngine::UI;
15 }
16 namespace _v
17 {
18 using namespace CP_SDK::Utils;
19 }
20
22 class CColorInput : public _u::MonoBehaviour
23 {
24 CP_SDK_IL2CPP_INHERIT("CP_SDK.UI.Components", CColorInput, _u::MonoBehaviour);
25 CP_SDK_IL2CPP_DECLARE_CTOR(CColorInput);
26 CP_SDK_IL2CPP_DECLARE_DTOR_MONOBEHAVIOUR(CColorInput);
27
28 protected:
29 _v::Action<_v::CActionRef<_u::Color>, bool> m_OnValueChanged;
30
31 _v::Func<_u::Color> m_GetValue;
32
33 _v::Action<bool> m_SetAlphaSupport;
34 _v::Action<bool> m_SetInteractable;
36
37 public:
40
41 public:
46
47 public:
49 _u::Color GetValue();
50
51 public:
54 CColorInput* SetAlphaSupport(bool p_Support);
57 CColorInput* SetInteractable(bool p_Interactable);
61 CColorInput* SetValue(_u::Color p_Value, bool p_Notify = true);
62
63 };
64
65}
66
67CP_SDK_IL2CPP_INHERIT_HELPERS(CP_SDK::UI::Components::CColorInput);
CColorInput * SetAlphaSupport(bool p_Support)
Set alpha support.
CColorInput * OnValueChanged(_v::CActionRef< _u::Color > p_Functor, bool p_Add=true)
On value changed event.
CColorInput * SetInteractable(bool p_Interactable)
Set interactable state.
_u::Color GetValue()
Get value.
CColorInput * SetValue(_u::Color p_Value, bool p_Notify=true)
Set value.
Generic UI components.
Various platform utils like Delegate/Action/Function/Event system.
Definition Delegate.hpp:8