3#include "../../ChatPlexSDK.hpp"
4#include "../../UI/UIIl2cpp.hpp"
5#include "../../UI/UISystem.hpp"
7#include <UnityEngine/GameObject.hpp>
8#include <UnityEngine/RectTransform.hpp>
9#include <UnityEngine/Transform.hpp>
17 using namespace TMPro;
18 using namespace UnityEngine;
19 using namespace UnityEngine::UI;
29 #define XUI_PROXY_IMPL(__Type, __Impl) { if (m_Element) { auto x = m_Element.Ptr(false); __Impl; return this; } else return OnReady([=](__Type* x) __Impl); }
30 #define XUI_PROXY_IMPL_EX(__Type, __Impl) { if (m_Element) { auto x = m_Element.Ptr(false); __Impl; return (t_Base*)this; } else return OnReady([=](__Type* x) __Impl); }
65 std::u16string m_InitialName;
75 : m_InitialName(p_Name), m_TypeID(p_TypeID)
90 virtual void BuildUI(_u::Transform* p_Parent) = 0;
IXUIElement(std::u16string_view p_Name, ETypeID p_TypeID)
Constructor.
virtual void BuildUI(_u::Transform *p_Parent)=0
BuildUI for this element into p_Parent transform.
std::u16string_view GetInitialName()
Get initial name.
virtual ~IXUIElement()=default
Destructor.
User interface components, views, flow coordinator, builders and factories.
Various platform utils like Delegate/Action/Function/Event system.
Tree like syntax CP_SDK::UI builder.