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 UIScene;
17struct UIItemRenderInfo;
18namespace ui { struct FlyingItem; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::ui::FlyingItem>> mFlyingItems;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~FlyingItemRenderer() /*override*/ = default;
32
33 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
34
35 virtual bool update(::IClientInstance&, ::UIControl& owner, ::UIScene const&) /*override*/;
36
37 virtual void
38 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
39
40 virtual ::UIBatchType getBatchType() const /*override*/;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static void _renderGuiIcon(
47 ::MinecraftUIRenderContext& renderContext,
48 ::IClientInstance& client,
49 ::ui::FlyingItem& item,
50 float x,
51 float y,
52 float transparency,
53 float scale,
54 int zOrder
55 );
56
57 MCAPI static void _renderMesh(
58 ::MinecraftUIRenderContext& renderContext,
59 ::BaseActorRenderContext& entityRenderContext,
60 ::UIItemRenderInfo const& itemRenderInfo
61 );
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
68
69 MCAPI bool $update(::IClientInstance&, ::UIControl& owner, ::UIScene const&);
70
71 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
72
73 MCFOLD ::UIBatchType $getBatchType() const;
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
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 UIScene.h:5
Definition UIItemRenderInfo.h:5
Definition FlyingItem.h:7