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 // virtual functions
34 // NOLINTBEGIN
35 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
36
37 virtual void
38 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
39
40 virtual bool update(::IClientInstance& client, ::UIControl&, ::UIScene const&) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI HudDashRenderer();
47
48 MCAPI explicit HudDashRenderer(::UIResolvedDef const& def);
49
50 MCAPI void _loadDashTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static bool
57 canRender(::IClientInstance const& client, ::LocalPlayer const& player, bool isReplacedWhileInactive);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor();
64
65 MCAPI void* $ctor(::UIResolvedDef const& def);
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
72
73 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
74
75 MCAPI bool $update(::IClientInstance& client, ::UIControl&, ::UIScene const&);
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
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