LeviLamina
Loading...
Searching...
No Matches
FlyingItemRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7#include "mc/client/gui/screens/UIBatchType.h"
8
9// auto generated forward declare list
10// clang-format off
12class IClientInstance;
14class UIControl;
16class UIPropertyBag;
17class UIScene;
18struct UIItemRenderInfo;
19namespace ui { struct FlyingItem; }
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 24, ::std::vector<::ui::FlyingItem>> mFlyingItems;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~FlyingItemRenderer() /*override*/ = default;
33
34 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
35
36 virtual bool update(::IClientInstance& owner, ::UIControl&, ::UIScene const&) /*override*/;
37
38 virtual void
39 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
40
41 virtual ::UIBatchType getBatchType() const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI FlyingItemRenderer();
48
49 MCAPI void _addNewFlyingItems(::UIPropertyBag& bag);
50
51 MCAPI void _renderGuiIcon(
52 ::MinecraftUIRenderContext& renderContext,
53 ::IClientInstance& client,
54 ::ui::FlyingItem& item,
55 float x,
56 float y,
57 float transparency,
58 float scale,
59 int zOrder
60 );
61
62 MCAPI void _renderMesh(
63 ::MinecraftUIRenderContext& renderContext,
64 ::BaseActorRenderContext& entityRenderContext,
65 ::UIItemRenderInfo const& itemRenderInfo
66 );
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
79
80 MCAPI bool $update(::IClientInstance& owner, ::UIControl&, ::UIScene const&);
81
82 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
83
84 MCFOLD ::UIBatchType $getBatchType() const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BaseActorRenderContext.h:5
Definition FlyingItemRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIPropertyBag.h:5
Definition UIScene.h:5
Definition UIItemRenderInfo.h:5
Definition FlyingItem.h:7