Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HudBubblesRenderer.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 // HudBubblesRenderer inner types define
22 enum class BubbleType : int {
23 Full = 0,
24 Pop = 1,
25 Empty = 2,
26 Count = 3,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<1, 1, bool> mHasLoadedTextures;
33 ::ll::TypedStorage<8, 8, uint64> mNumFullIcons;
34 ::ll::TypedStorage<8, 8, uint64> mNumPoppedIcons;
35 ::ll::TypedStorage<8, 8, uint64> mNumEmptyIcons;
36 ::ll::TypedStorage<1, 1, bool> mPopSoundReady;
37 ::ll::TypedStorage<1, 1, bool> mWobblingLastFrame;
38 ::ll::TypedStorage<8, 96, ::std::array<::mce::TexturePtr, 3>> mBubbleTextures;
39 ::ll::TypedStorage<8, 1824, ::std::array<::mce::Mesh, 3>> mBubbleMeshes;
40 ::ll::TypedStorage<4, 120, ::std::array<::glm::vec3, 10>> mIconPosition;
41 // NOLINTEND
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual ~HudBubblesRenderer() /*override*/ = default;
47
48 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
49
50 virtual void
51 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int) /*override*/;
52
53 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI void* $ctor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCNAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
72
73 MCNAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int);
74
75 MCNAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
76 // NOLINTEND
77};
Definition HudBubblesRenderer.h:5
MCAPI void * $ctor()
MCAPI HudBubblesRenderer()
MCAPI bool $update(::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone() const
MCAPI void $render(::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::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.