Skip to content
LeviMC
English
AutoLightDark
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;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDashEmpty;
25 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDashFull;
26 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDashCooldown;
27 ::ll::TypedStorage<1, 1, bool> mHasLoadedTextures;
28 ::ll::TypedStorage<1, 1, bool> mIsReplacedWhileInactive;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 HudDashRenderer();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
39
40 virtual void render(
41 ::MinecraftUIRenderContext& renderContext,
42 ::IClientInstance& client,
43 ::UIControl& owner,
44 int pass
45 ) /*override*/;
46
47 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI explicit HudDashRenderer(::UIResolvedDef const& def);
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI static bool
60 canRender(::IClientInstance const& client, ::LocalPlayer const& player, bool isReplacedWhileInactive);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCNAPI void* $ctor(::UIResolvedDef const& def);
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
73
74 MCNAPI void
75 $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int pass);
76
77 MCNAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition HudDashRenderer.h:5
MCAPI void * $ctor(::UIResolvedDef const &def)
MCAPI void $render(::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI bool $update(::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
static MCAPI bool canRender(::IClientInstance const &client, ::LocalPlayer const &player, bool isReplacedWhileInactive)
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone() const
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
STL namespace.