LeviLamina
Loading...
Searching...
No Matches
HudLocatorBarRenderer.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/deps/core/math/Vec2.h"
8#include "mc/deps/minecraft_renderer/renderer/Mesh.h"
9#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
10
11// auto generated forward declare list
12// clang-format off
13class IClientInstance;
15class NinePatchLayer;
16class UIControl;
18class UIScene;
19// clang-format on
20
22public:
23 // HudLocatorBarRenderer inner types declare
24 // clang-format off
26 struct PlayerData;
27 // clang-format on
28
29 // HudLocatorBarRenderer inner types define
30 struct ActorUniqueIDCompare {};
31
32 struct PlayerData {};
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NinePatchLayer>> mBackgroundTexture;
38 ::ll::TypedStorage<1, 1, bool> mHasLoadedIconTextures;
39 ::ll::TypedStorage<8, 192, ::std::array<::mce::TexturePtr, 6>> mTextures;
40 ::ll::TypedStorage<8, 3792, ::std::array<::mce::Mesh, 6>> mMeshes;
41 ::ll::TypedStorage<4, 8, ::Vec2> mBackgroundSize;
42 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastRenderCall;
43 // NOLINTEND
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ~HudLocatorBarRenderer() /*override*/ = default;
49
50 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
51
52 virtual void
53 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
54
55 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&) /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI HudLocatorBarRenderer();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
74
75 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
76
77 MCAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&);
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition HudLocatorBarRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition NinePatchLayer.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5
Definition HudLocatorBarRenderer.h:14
Definition HudLocatorBarRenderer.h:16