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 {};
33 ::ll::TypedStorage<4, 4, ::PaperDollRenderer::RotationStyle> mRotationStyle;
34 ::ll::TypedStorage<4, 4, ::PaperDollRenderer::RotationStyle> mPreviousRotationStyle;
35 ::ll::TypedStorage<1, 1, bool> mUseSelectedSkin;
36 ::ll::TypedStorage<1, 1, bool> mPlayerPaperDoll;
37 ::ll::TypedStorage<1, 1, bool> mUseUUID;
38 ::ll::TypedStorage<1, 1, bool> mRespectSkinGuiScale;
39 ::ll::TypedStorage<4, 4, float> mDeltaTime;
40 ::ll::TypedStorage<4, 4, float> mElapsedTime;
41 ::ll::TypedStorage<4, 4, float> mRotation;
42 ::ll::TypedStorage<4, 4, float> mTargetRotation;
43 ::ll::TypedStorage<4, 4, float> mCameraTiltInDeg;
44 ::ll::TypedStorage<4, 4, float> mRotationSpeedMultiplier;
45 ::ll::TypedStorage<8, 32, ::std::string> mSkinName;
46 ::ll::TypedStorage<8, 16, ::mce::UUID> mCurrentPlayerUUID;
47 ::ll::TypedStorage<8, 16, ::mce::UUID> mPaperDollPackId;
48 ::ll::TypedStorage<4, 4, int> mPaperDollSkinIdx;
49 ::ll::TypedStorage<1, 1, bool> mWaitForSkinInitialize;
50 ::ll::TypedStorage<1, 1, bool> mMarkLocalPlayerAsDirty;
51 ::ll::TypedStorage<8, 8, ::IClientInstance*> mClientInstance;
52 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mParticleEffectsMap;
53 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AnimationComponent>> mAnimationComponent;
54 ::ll::TypedStorage<8, 56, ::MolangVariableMap> mVariables;
55 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mSkinLastUpdated;
61 virtual ~PaperDollRenderer() ;
63 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
66 ::MinecraftUIRenderContext& renderContext,
67 ::IClientInstance& client,
72 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) ;
78 MCAPI PaperDollRenderer();
80 MCAPI explicit PaperDollRenderer(::UIResolvedDef const& def);
82 MCAPI
void _addAnimationIfNotRegistered(
83 ::std::shared_ptr<::ActorAnimationGroup> actorAnimationGroup,
84 ::HashedString const& friendlyName
87 MCAPI ::AnimationComponent& _getAnimationComponent();
90 ::MinecraftUIRenderContext& renderContext,
91 ::IClientInstance& client,
94 ::OffscreenCaptureData const* uiActorCaptureData
97 MCAPI ::HashedString const& getActorType(::UIControl& owner) const;
99 MCAPI
void offscreenCapture(
100 ::MinecraftUIRenderContext& renderContext,
101 ::IClientInstance& client,
104 ::OffscreenCaptureData const& uiActorCaptureData,
105 ::SerializedSkinRef const& skin,
115 MCAPI
void* $ctor(::UIResolvedDef const& def);
127 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
130 $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int pass);
132 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