3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/RenderableComponent.h"
21 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UICustomRenderer>> mRenderer;
22 ::ll::TypedStorage<8, 32, ::std::string> mItemName;
28 virtual ~CustomRenderComponent() =
default;
30 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner)
const ;
32 virtual void reset() ;
34 virtual void onVisibilityChanged(
bool visible) ;
36 virtual ::std::string
const& getTextToSpeechComponentValue() const ;
42 MCAPI
void setRenderer(::std::shared_ptr<::UICustomRenderer> renderer);
44 MCAPI
bool updateCustom(::IClientInstance& client, ::UIScene const& scene);
50 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
54 MCAPI
void $onVisibilityChanged(
bool visible);
56 MCFOLD ::std::
string const& $getTextToSpeechComponentValue() const;
Definition CustomRenderComponent.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition RenderableComponent.h:5
Definition UIComponent.h:5
Definition UICustomRenderer.h:5