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/util/MolangVariableMap.h"
28 enum class RotationStyle :
int {
39 ::ll::TypedStorage<4, 4, ::PaperDollRenderer::RotationStyle> mRotationStyle;
40 ::ll::TypedStorage<4, 4, ::PaperDollRenderer::RotationStyle> mPreviousRotationStyle;
41 ::ll::TypedStorage<1, 1, bool> mUseSelectedSkin;
42 ::ll::TypedStorage<1, 1, bool> mPlayerPaperDoll;
43 ::ll::TypedStorage<1, 1, bool> mUseUUID;
44 ::ll::TypedStorage<1, 1, bool> mRespectSkinGuiScale;
45 ::ll::TypedStorage<4, 4, float> mDeltaTime;
46 ::ll::TypedStorage<4, 4, float> mElapsedTime;
47 ::ll::TypedStorage<4, 4, float> mRotation;
48 ::ll::TypedStorage<4, 4, float> mTargetRotation;
49 ::ll::TypedStorage<4, 4, float> mCameraTiltInDeg;
50 ::ll::TypedStorage<4, 4, float> mRotationSpeedMultiplier;
51 ::ll::TypedStorage<8, 32, ::std::string> mSkinName;
52 ::ll::TypedStorage<8, 16, ::mce::UUID> mCurrentPlayerUUID;
53 ::ll::TypedStorage<8, 16, ::mce::UUID> mPaperDollPackId;
54 ::ll::TypedStorage<4, 4, int> mPaperDollSkinIdx;
55 ::ll::TypedStorage<1, 1, bool> mWaitForSkinInitialize;
56 ::ll::TypedStorage<1, 1, bool> mMarkLocalPlayerAsDirty;
57 ::ll::TypedStorage<8, 8, ::IClientInstance*> mClientInstance;
58 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mParticleEffectsMap;
59 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AnimationComponent>> mAnimationComponent;
60 ::ll::TypedStorage<8, 56, ::MolangVariableMap> mVariables;
61 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mSkinLastUpdated;
67 virtual ~PaperDollRenderer() ;
69 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
72 ::MinecraftUIRenderContext& renderContext,
73 ::IClientInstance& client,
78 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) ;
84 MCAPI PaperDollRenderer();
86 MCAPI explicit PaperDollRenderer(::UIResolvedDef const& def);
88 MCAPI
void _addAnimationIfNotRegistered(
89 ::std::shared_ptr<::ActorAnimationGroup> actorAnimationGroup,
90 ::HashedString const& friendlyName
93 MCAPI ::AnimationComponent& _getAnimationComponent();
96 ::MinecraftUIRenderContext& renderContext,
97 ::IClientInstance& client,
100 ::OffscreenCaptureData const* uiActorCaptureData
103 MCAPI ::HashedString const& getActorType(::UIControl& owner) const;
105 MCAPI
void offscreenCapture(
106 ::MinecraftUIRenderContext& renderContext,
107 ::IClientInstance& client,
110 ::OffscreenCaptureData const& uiActorCaptureData,
111 ::SerializedSkinRef const& skin,
121 MCAPI
void* $ctor(::UIResolvedDef const& def);
133 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
136 $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int pass);
138 MCAPI
bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
Definition ActorAnimationGroup.h:26
Definition AnimationComponent.h:36
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition PaperDollRenderer.h:5
static MCAPI void ** $vftable()
Definition SerializedSkinRef.h:23
Definition UICustomRenderer.h:5
Definition UIResolvedDef.h:5
Definition OffscreenCaptureData.h:5