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, 72, ::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, 24, ::mce::ClientTexture> mTexture;
33 // NOLINTEND
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~ProfileImageRenderer() /*override*/ = default;
39
40 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
41
42 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
43
44 virtual void
45 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int) /*override*/;
46
47 virtual ::UIBatchType getBatchType() const /*override*/;
48
49 virtual int getCustomId() const /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI ProfileImageRenderer();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
68
69 MCAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
70
71 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int);
72
73 MCFOLD ::UIBatchType $getBatchType() const;
74
75 MCFOLD int $getCustomId() const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition ProfileImageRenderer.h:5
static MCAPI void ** $vftable()
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5
Definition Image.h:12