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 MCAPI void setRenderer(::std::shared_ptr<::UICustomRenderer> renderer);
43
44 MCAPI bool updateCustom(::IClientInstance& client, ::UIScene const& scene);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
51
52 MCFOLD void $reset();
53
54 MCAPI void $onVisibilityChanged(bool visible);
55
56 MCFOLD ::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
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition RenderableComponent.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5