ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
IXUIBindable.hpp
1#pragma once
2
3#include "IXUIElement.hpp"
4
5namespace CP_SDK::XUI {
6
9 template<class t_Base>
11 {
12 CP_SDK_NO_COPYMOVE_CTORS(IXUIBindable);
13
14 protected:
18 virtual ~IXUIBindable() = default;
19
20 public:
23 virtual t_Base* Bind(std::shared_ptr<t_Base>* p_Target) = 0;
24
25 };
26
27}
IXUIElement Bind interface.
virtual t_Base * Bind(std::shared_ptr< t_Base > *p_Target)=0
On ready, bind.
virtual ~IXUIBindable()=default
Destructor.
Tree like syntax CP_SDK::UI builder.