3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7#include "mc/deps/core/string/HashedString.h"
8#include "mc/platform/UUID.h"
9#include "mc/platform/brstd/move_only_function.h"
10#include "mc/util/MolangVariableMap.h"
33 enum class RotationStyle :
int {
44 ::ll::TypedStorage<4, 4, ::PaperDollRenderer::RotationStyle> mRotationStyle;
45 ::ll::TypedStorage<4, 4, ::PaperDollRenderer::RotationStyle> mPreviousRotationStyle;
46 ::ll::TypedStorage<1, 1, bool> mUseSelectedSkin;
47 ::ll::TypedStorage<1, 1, bool> mUseSkinByName;
48 ::ll::TypedStorage<1, 1, bool> mUseUUID;
49 ::ll::TypedStorage<4, 4, float> mDeltaTime;
50 ::ll::TypedStorage<4, 4, float> mElapsedTime;
51 ::ll::TypedStorage<4, 4, float> mRotation;
52 ::ll::TypedStorage<4, 4, float> mTargetRotation;
53 ::ll::TypedStorage<4, 4, float> mCameraTiltInDeg;
54 ::ll::TypedStorage<4, 4, float> mRotationSpeedMultiplier;
55 ::ll::TypedStorage<8, 32, ::std::string> mSkinName;
56 ::ll::TypedStorage<8, 16, ::mce::UUID> mCurrentPlayerUUID;
57 ::ll::TypedStorage<8, 16, ::mce::UUID> mPaperDollPackId;
58 ::ll::TypedStorage<4, 4, int> mPaperDollSkinIdx;
59 ::ll::TypedStorage<1, 1, bool> mWaitForSkinInitialize;
60 ::ll::TypedStorage<1, 1, bool> mMarkLocalPlayerAsDirty;
61 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<void(::std::string_view)
const>> mRemoveSkin;
62 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mParticleEffectsMap;
63 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AnimationComponent>> mAnimationComponent;
64 ::ll::TypedStorage<8, 56, ::MolangVariableMap> mVariables;
65 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mSkinLastUpdated;
66 ::ll::TypedStorage<8, 64, ::std::unordered_map<::mce::UUID, ::SkinPackPin>> mPinnedPacks;
72 virtual ~PaperDollRenderer() =
default;
74 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
77 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int) ;
79 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) ;
85 MCAPI PaperDollRenderer();
87 MCAPI explicit PaperDollRenderer(::IPaperDollUIDefSource const& def);
89 MCAPI
void _addAnimationIfNotRegistered(
90 ::std::shared_ptr<::ActorAnimationGroup> actorAnimationGroup,
91 ::HashedString const& friendlyName
94 MCAPI ::AnimationComponent& _getAnimationComponent();
97 ::IPaperDollRenderContext& context,
98 ::PaperDollRenderOwnerData const& data,
99 ::OffscreenCaptureDescription const* capture
102 MCAPI
void _update(::IPaperDollUpdateContext& context, ::PaperDollUpdateOwnerData const& data);
110 MCAPI
void* $ctor(::IPaperDollUIDefSource const& def);
116 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
118 MCAPI
void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int);
120 MCAPI
bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
Definition ActorAnimationGroup.h:22
Definition AnimationComponent.h:38
Definition IClientInstance.h:5
Definition IPaperDollRenderContext.h:5
Definition IPaperDollUIDefSource.h:5
Definition IPaperDollUpdateContext.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition PaperDollRenderer.h:5
Definition SkinPackPin.h:5
Definition UICustomRenderer.h:5
Definition OffscreenCaptureDescription.h:5
Definition PaperDollRenderOwnerData.h:5
Definition PaperDollUpdateOwnerData.h:5