Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ProfileImageRenderer.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/client/social/ProfileImageOptions.h"
9#include "mc/deps/core/threading/TaskGroup.h"
10#include "mc/deps/core/utility/pub_sub/Subscription.h"
11#include "mc/deps/minecraft_renderer/resources/ClientTexture.h"
12
13// auto generated forward declare list
14// clang-format off
15class IClientInstance;
17class UIControl;
19class UIScene;
20namespace mce { struct Image; }
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 104, ::Social::ProfileImageOptions> mProfileImageOptions;
28 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
29 ::ll::TypedStorage<8, 24, ::std::optional<::Bedrock::PubSub::Subscription>> mProfileImageChangedSubscription;
30 ::ll::TypedStorage<1, 1, bool> mIsLoadingImage;
31 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::mce::Image>> mImage;
32 ::ll::TypedStorage<8, 16, ::mce::ClientTexture> mTexture;
33 ::ll::TypedStorage<1, 1, bool> mFetchReturnedEmpty;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~ProfileImageRenderer() /*override*/ = default;
40
41 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
42
43 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
44
45 virtual void
46 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int) /*override*/;
47
48 virtual ::UIBatchType getBatchType() const /*override*/;
49
50 virtual int getCustomId() const /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCNAPI void* $ctor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
69
70 MCNAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
71
72 MCNAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int);
73
74 MCNAPI ::UIBatchType $getBatchType() const;
75
76 MCNAPI int $getCustomId() const;
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition ProfileImageRenderer.h:5
MCAPI ProfileImageRenderer()
MCAPI void $render(::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::UIControl &owner, int)
static MCAPI void ** $vftable()
MCAPI void * $ctor()
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone() const
MCAPI::UIBatchType $getBatchType() const
MCAPI bool $update(::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
MCAPI int $getCustomId() const
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5
STL namespace.
Definition Image.h:13