Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HotBarSlotsRenderer.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/Mesh.h"
8#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
9
10// auto generated forward declare list
11// clang-format off
12class IClientInstance;
14class UIControl;
16class UIScene;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mAllTexturesLoaded;
24 ::ll::TypedStorage<4, 4, int> mSlotCount;
25 ::ll::TypedStorage<8, 288, ::std::array<::mce::TexturePtr, 9>> mSlotTextures;
26 ::ll::TypedStorage<8, 5472, ::std::array<::mce::Mesh, 9>> mSlotMeshes;
27 ::ll::TypedStorage<4, 108, ::std::array<::glm::vec3, 9>> mSlotPositions;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~HotBarSlotsRenderer() /*override*/ = default;
34
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& owner, ::UIScene const& scene) /*override*/;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCNAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
47
48 MCNAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
49
50 MCNAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition HotBarSlotsRenderer.h:5
MCAPI bool $update(::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
static MCAPI void ** $vftable()
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone() const
MCAPI void $render(::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int)
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5
STL namespace.