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&, ::UIControl& owner, ::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 void _addNewFlyingItems(::UIPropertyBag& bag);
48
49 MCAPI void _renderGuiIcon(
50 ::MinecraftUIRenderContext& renderContext,
51 ::IClientInstance& client,
52 ::ui::FlyingItem& item,
53 float x,
54 float y,
55 float transparency,
56 float scale,
57 int zOrder
58 );
59
60 MCAPI void _renderMesh(
61 ::MinecraftUIRenderContext& renderContext,
62 ::BaseActorRenderContext& entityRenderContext,
63 ::UIItemRenderInfo const& itemRenderInfo
64 );
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
71
72 MCAPI bool $update(::IClientInstance&, ::UIControl& owner, ::UIScene const&);
73
74 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
75
76 MCFOLD ::UIBatchType $getBatchType() const;
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
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