Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
QRCodeRenderer.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/client/gui/screens/UIBatchType.h"
8#include "mc/deps/core/math/Color.h"
9#include "mc/deps/minecraft_renderer/resources/ClientTexture.h"
10
11// auto generated forward declare list
12// clang-format off
13class IClientInstance;
15class UIControl;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 32, ::std::string> mQrCodeContent;
24 ::ll::TypedStorage<4, 16, ::mce::Color> mForegroundColor;
25 ::ll::TypedStorage<4, 16, ::mce::Color> mBackgroundColor;
26 ::ll::TypedStorage<8, 16, ::mce::ClientTexture> mTexture;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~QRCodeRenderer() /*override*/;
33
34 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
35
36 virtual void
37 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int) /*override*/;
38
39 virtual ::UIBatchType getBatchType() const /*override*/;
40
41 virtual int getCustomId() const /*override*/;
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCNAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
54
55 MCNAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int);
56
57 MCNAPI ::UIBatchType $getBatchType() const;
58
59 MCNAPI int $getCustomId() const;
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition QRCodeRenderer.h:5
MCAPI::UIBatchType $getBatchType() const
MCAPI void $dtor()
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone() const
MCAPI void $render(::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::UIControl &owner, int)
MCAPI int $getCustomId() const
static MCAPI void ** $vftable()
Definition UIControl.h:5
Definition UICustomRenderer.h:5
STL namespace.