ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
IXUIElementReady.hpp
1#pragma once
2
3#include "IXUIElement.hpp"
4#include "../../Utils/Event.hpp"
5
6#include <UnityEngine/MonoBehaviour.hpp>
7
8namespace CP_SDK::XUI {
9
13 template<class t_Base, class t_Component>
15 {
16 CP_SDK_NO_COPYMOVE_CTORS(IXUIElementReady);
17
18 protected:
22 virtual ~IXUIElementReady() = default;
23
24 public:
27 virtual t_Base* OnReady(_v::CActionRef<t_Component*> p_Functor) = 0;
28
29 };
30
31}
IXUIElement OnReady functor interface.
virtual ~IXUIElementReady()=default
Destructor.
virtual t_Base * OnReady(_v::CActionRef< t_Component * > p_Functor)=0
IXUIElement OnReady functor interface.
Tree like syntax CP_SDK::UI builder.