LeviLamina
Loading...
Searching...
No Matches
SerializedSkin.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7#include "mc/world/actor/player/TrustedSkinFlag.h"
8#include "mc/world/actor/player/persona/AnimatedTextureType.h"
9#include "mc/world/actor/player/persona/ArmSize.h"
10#include "mc/world/actor/player/persona/PieceType.h"
11
12// auto generated forward declare list
13// clang-format off
15class BinaryStream;
21class TintMapColor;
22namespace Json { class Value; }
23namespace mce { class Color; }
24namespace mce { struct Image; }
25// clang-format on
26
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 32, ::std::string> mId;
32 ::ll::TypedStorage<8, 32, ::std::string> mPlayFabId;
33 ::ll::TypedStorage<8, 32, ::std::string> mFullId;
34 ::ll::TypedStorage<8, 32, ::std::string> mResourcePatch;
35 ::ll::TypedStorage<8, 32, ::std::string> mDefaultGeometryName;
36 ::ll::TypedStorage<8, 48, ::mce::Image> mSkinImage;
37 ::ll::TypedStorage<8, 48, ::mce::Image> mCapeImage;
38 ::ll::TypedStorage<8, 24, ::std::vector<::AnimatedImageData>> mSkinAnimatedImages;
39 ::ll::TypedStorage<8, 16, ::Json::Value> mGeometryData;
40 ::ll::TypedStorage<8, 32, ::MinEngineVersion> mGeometryDataMinEngineVersion;
41 ::ll::TypedStorage<8, 16, ::Json::Value> mGeometryDataMutable;
42 ::ll::TypedStorage<8, 32, ::std::string> mAnimationData;
43 ::ll::TypedStorage<8, 32, ::std::string> mCapeId;
44 ::ll::TypedStorage<8, 24, ::std::vector<::SerializedPersonaPieceHandle>> mPersonaPieces;
45 ::ll::TypedStorage<8, 8, ::persona::ArmSize::Type> mArmSizeType;
46 ::ll::TypedStorage<8, 64, ::std::unordered_map<::persona::PieceType, ::TintMapColor>> mPieceTintColors;
47 ::ll::TypedStorage<4, 16, ::mce::Color> mSkinColor;
48 ::ll::TypedStorage<1, 1, ::TrustedSkinFlag> mIsTrustedSkin;
49 ::ll::TypedStorage<1, 1, bool> mIsPremium;
50 ::ll::TypedStorage<1, 1, bool> mIsPersona;
51 ::ll::TypedStorage<1, 1, bool> mIsPersonaCapeOnClassicSkin;
52 ::ll::TypedStorage<1, 1, bool> mIsPrimaryUser;
53 ::ll::TypedStorage<1, 1, bool> mOverridesPlayerAppearance;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI SerializedSkin();
60
62
63 MCAPI explicit SerializedSkin(::ConnectionRequest const& request);
64
65 MCAPI explicit SerializedSkin(::SubClientConnectionRequest const& request);
66
67 MCAPI SerializedSkin(::SerializedSkin const& rhs);
68
69 MCAPI float getAnimationFrames(::persona::AnimatedTextureType animationType) const;
70
71 MCAPI ::SerializedSkin& operator=(::SerializedSkin&&);
72
73 MCAPI ::SerializedSkin& operator=(::SerializedSkin const& rhs);
74
75 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
76
77 MCAPI void setArmSizeFromString(::std::string const& armSizeStr);
78
79 MCAPI void updateGeometryName();
80
81 MCAPI void write(::BinaryStream& stream) const;
82
83 MCAPI ~SerializedSkin();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor();
90
91 MCAPI void* $ctor(::SerializedSkin&&);
92
93 MCAPI void* $ctor(::ConnectionRequest const& request);
94
95 MCAPI void* $ctor(::SubClientConnectionRequest const& request);
96
97 MCAPI void* $ctor(::SerializedSkin const& rhs);
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103 MCAPI void $dtor();
104 // NOLINTEND
105};
Definition AnimatedImageData.h:14
Definition BinaryStream.h:10
Definition ConnectionRequest.h:22
Definition MinEngineVersion.h:10
Definition ReadOnlyBinaryStream.h:8
Definition SerializedPersonaPieceHandle.h:13
Definition SerializedSkin.h:27
Definition SubClientConnectionRequest.h:19
Definition TintMapColor.h:10