3#include "mc/_HeaderOutputPredefine.h"
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"
20namespace mce {
struct Image; }
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;
38 virtual ~ProfileImageRenderer() =
default;
40 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
42 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) ;
45 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner,
int) ;
47 virtual ::UIBatchType getBatchType() const ;
49 virtual
int getCustomId() const ;
55 MCAPI ProfileImageRenderer();
67 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
69 MCAPI
bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
71 MCAPI
void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner,
int);
73 MCFOLD ::UIBatchType $getBatchType() const;
75 MCFOLD
int $getCustomId() const;
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition ProfileImageRenderer.h:5
static MCAPI void ** $vftable()
Definition UICustomRenderer.h:5