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