LeviLamina
Loading...
Searching...
No Matches
HudDashRenderer.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/minecraft_renderer/renderer/TexturePtr.h"
8
9// auto generated forward declare list
10// clang-format off
11class IClientInstance;
12class LocalPlayer;
14class UIControl;
16class UIResolvedDef;
17class UIScene;
18namespace mce { class TextureGroup; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDashEmpty;
26 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDashFull;
27 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDashCooldown;
28 ::ll::TypedStorage<1, 1, bool> mHasLoadedTextures;
29 ::ll::TypedStorage<1, 1, bool> mIsReplacedWhileInactive;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 HudDashRenderer();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
40
41 virtual void render(
42 ::MinecraftUIRenderContext& renderContext,
43 ::IClientInstance& client,
44 ::UIControl& owner,
45 int pass
46 ) /*override*/;
47
48 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
49
50 virtual ~HudDashRenderer() /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI explicit HudDashRenderer(::UIResolvedDef const& def);
57
58 MCAPI void _loadDashTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI static bool
65 canRender(::IClientInstance const& client, ::LocalPlayer const& player, bool isReplacedWhileInactive);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::UIResolvedDef const& def);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
84
85 MCAPI void
86 $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int pass);
87
88 MCAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition HudDashRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition LocalPlayer.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIResolvedDef.h:5
Definition UIScene.h:5
Definition TextureGroup.h:7