Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CustomRenderComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/RenderableComponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class IClientInstance;
11class UIComponent;
12class UIControl;
14class UIScene;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UICustomRenderer>> mRenderer;
22 ::ll::TypedStorage<8, 32, ::std::string> mItemName;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~CustomRenderComponent() /*override*/ = default;
29
30 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
31
32 virtual void reset() /*override*/;
33
34 virtual void onVisibilityChanged(bool visible) /*override*/;
35
36 virtual ::std::string const& getTextToSpeechComponentValue() const /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI void setRenderer(::std::shared_ptr<::UICustomRenderer> renderer);
43
44 MCNAPI bool updateCustom(::IClientInstance& client, ::UIScene const& scene);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCNAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
51
52 MCNAPI void $reset();
53
54 MCNAPI void $onVisibilityChanged(bool visible);
55
56 MCNAPI ::std::string const& $getTextToSpeechComponentValue() const;
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition CustomRenderComponent.h:5
MCAPI::std::string const & $getTextToSpeechComponentValue() const
MCAPI bool updateCustom(::IClientInstance &client, ::UIScene const &scene)
MCAPI void $onVisibilityChanged(bool visible)
static MCAPI void ** $vftable()
MCAPI ::std::unique_ptr<::UIComponent > $clone(::UIControl &cloneOwner) const
MCAPI void setRenderer(::std::shared_ptr<::UICustomRenderer > renderer)
Definition IClientInstance.h:5
Definition RenderableComponent.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5
STL namespace.