26class SerializedSkinImpl {
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<1, 1, ::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;
58 MCAPI SerializedSkinImpl();
60 MCAPI SerializedSkinImpl(::std::string
const& playFabId,
::ConnectionRequest const& request);
64 MCAPI SerializedSkinImpl(
65 ::std::string
const& name,
66 ::std::string
const& playFabId,
67 ::std::string
const& resourcePatch,
69 ushort
const& skinImageWidth,
70 ushort
const& skinImageHeight,
72 ushort
const& capeImageWidth,
73 ushort
const& capeImageHeight,
76 ::std::string
const& animationData,
77 ::std::string
const& capeId,
81 bool isPersonaCapeOnClassicSkin,
83 bool overridesPlayerAppearance
88 MCAPI
void setArmSizeFromString(::std::string
const& armSizeStr);
90 MCAPI_C
void setCapeId(::std::string
const& capeId);
92 MCAPI
void updateGeometryName();
96 MCAPI ~SerializedSkinImpl();
109 ::std::string
const& name,
110 ::std::string
const& playFabId,
111 ::std::string
const& resourcePatch,
113 ushort
const& skinImageWidth,
114 ushort
const& skinImageHeight,
116 ushort
const& capeImageWidth,
117 ushort
const& capeImageHeight,
120 ::std::string
const& animationData,
121 ::std::string
const& capeId,
125 bool isPersonaCapeOnClassicSkin,
127 bool overridesPlayerAppearance