31class SerializedSkinRef {
39 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Application::ThreadOwner<::SerializedSkinImpl, 0>>>
46 MCAPI SerializedSkinRef();
48 MCAPI SerializedSkinRef(::SerializedSkinRef&& rhs);
50 MCAPI SerializedSkinRef(::SerializedSkinRef
const& rhs);
52 MCAPI SerializedSkinRef(::std::string
const& playFabId,
::ConnectionRequest const& connectionRequest);
56 MCAPI SerializedSkinRef(
57 ::std::string
const& name,
58 ::std::string
const& playFabId,
59 ::std::string
const& resourcePatch,
61 ushort
const& skinImageWidth,
62 ushort
const& skinImageHeight,
64 ushort
const& capeImageWidth,
65 ushort
const& capeImageHeight,
68 ::std::string
const& animationData,
69 ::std::string
const& capeId,
73 bool isPersonaCapeOnClassicSkin,
75 bool overridesPlayerAppearance
79 MCAPI int64 estimateSizeInBytes()
const;
82 MCAPI ::std::vector<::AnimatedImageData>
const& getAnimatedImageData()
const;
84 MCAPI ::std::string
const& getAnimationData()
const;
87 MCAPI
float getAnimationFrames(::persona::AnimatedTextureType animationType)
const;
90 MCAPI ::persona::ArmSize::Type
const& getArmSize()
const;
93 MCAPI ::std::string getArmSizeAsString()
const;
96 MCAPI ::std::string
const& getCapeId()
const;
98 MCFOLD ::mce::Image
const& getCapeImageData()
const;
101 MCFOLD ::mce::Image& getCapeImageData();
104 MCFOLD ::SkinImage
const& getCapeImageDataCereal()
const;
107 MCFOLD ::std::string
const& getDefaultGeometryName()
const;
110 MCFOLD ::std::string
const& getFullId()
const;
112 MCAPI ::Json::Value
const& getGeometryData()
const;
114 MCAPI ::MinEngineVersion
const& getGeometryDataMinEngineVersion()
const;
117 MCAPI ::Json::Value& getGeometryDataMutable()
const;
120 MCAPI ::std::string getGeometryDataStr()
const;
122 MCFOLD ::std::string
const& getId()
const;
125 MCFOLD ::mce::Image
const& getImageData()
const;
127 MCFOLD ::mce::Image& getImageData();
130 MCFOLD ::SkinImage
const& getImageDataCereal()
const;
133 MCFOLD ::mce::Image& getImageDataMutable();
136 MCAPI
bool getIsPersona()
const;
138 MCAPI
bool getIsPersonaCapeOnClassicSkin()
const;
140 MCAPI
bool getIsPremium()
const;
142 MCAPI ::TrustedSkinFlag
const& getIsTrustedSkinFlag()
const;
144 MCFOLD ::std::string
const& getName()
const;
146 MCAPI ::std::vector<::SerializedPersonaPieceHandle>
const& getPersonaPieces()
const;
148 MCAPI ::std::unordered_map<::persona::PieceType, ::TintMapColor>
const& getPieceTintColors()
const;
150 MCFOLD ::std::string
const& getPlayFabId()
const;
152 MCFOLD ::std::string
const& getResourcePatch()
const;
154 MCAPI ::mce::Color
const& getSkinColor()
const;
156 MCAPI
bool isPrimaryUser()
const;
158 MCAPI
bool isTrustedSkin()
const;
160 MCAPI
bool isValid()
const;
162 MCFOLD ::SerializedSkinRef& operator=(::SerializedSkinRef&& rhs);
164 MCFOLD ::SerializedSkinRef& operator=(::SerializedSkinRef
const& rhs);
166 MCAPI
bool operator==(::SerializedSkinRef
const& rhs)
const;
168 MCAPI
bool overridesPlayerAppearance()
const;
173 MCAPI
void releaseThread();
176 MCAPI
void setAnimatedImageData(::std::vector<::AnimatedImageData>
const& animatedImages);
178 MCAPI
void setAnimationData(::std::string
const& animationData);
180 MCAPI
void setArmSize(::persona::ArmSize::Type
const& armSizeType);
182 MCAPI
void setCapeId(::std::string
const& capeId);
188 MCAPI
void setCapeImageDataCereal(
::SkinImage const& image);
190 MCAPI
void setFullId(::std::string
const& fullId);
200 MCAPI
void setId(::std::string
const&
id);
206 MCAPI
void setImageDataCereal(
::SkinImage const& image);
208 MCAPI
void setIsPersona(
bool isPersona);
210 MCAPI
void setIsPersonaCapeOnClassicSkin(
bool isPersonaCapeOnClassicSkin);
212 MCAPI
void setIsPremium(
bool isPremium);
214 MCAPI
void setIsPrimaryUser(
bool isPrimaryUser);
216 MCAPI
void setIsTrustedSkin(
bool isTrustedSkin);
218 MCAPI
void setIsTrustedSkinFlag(::TrustedSkinFlag
const& isTrustedSkinFlag);
220 MCAPI
void setOverridesPlayerAppearance(
bool overridesPlayerAppearance);
222 MCAPI
void setPersonaAppearanceData(
223 ::persona::ArmSize::Type
const& armSizeType,
225 ::std::vector<::SerializedPersonaPieceHandle> personaPieces,
226 ::std::unordered_map<::persona::PieceType, ::TintMapColor>
const& pieceTintColors
229 MCAPI
void setPersonaPieces(::std::vector<::SerializedPersonaPieceHandle>
const& personaPieces);
231 MCAPI
void setPieceTintColors(::std::unordered_map<::persona::PieceType, ::TintMapColor>
const& pieceTintColors);
233 MCAPI
void setPlayFabId(::std::string
const& playFabId);
235 MCAPI
void setResourcePatch(::std::string
const& resourcePatch);
240 MCAPI
void updateGeometryName();
242 MCAPI
bool useBlinkingAnimation()
const;
245 MCFOLD
void verifyTrustEstablished(::std::string_view functionName)
const;
249 MCAPI ~SerializedSkinRef();
255 MCAPI static ::SerializedSkinRef createTrustedDefaultSerializedSkin();
257 MCAPI
static bool isSkinDisabled(::SerializedSkinRef
const& skin,
::LevelData const& levelData);
265 MCFOLD
void* $ctor(::SerializedSkinRef&& rhs);
267 MCFOLD
void* $ctor(::SerializedSkinRef
const& rhs);
269 MCAPI
void* $ctor(::std::string
const& playFabId,
::ConnectionRequest const& connectionRequest);
274 ::std::string
const& name,
275 ::std::string
const& playFabId,
276 ::std::string
const& resourcePatch,
278 ushort
const& skinImageWidth,
279 ushort
const& skinImageHeight,
281 ushort
const& capeImageWidth,
282 ushort
const& capeImageHeight,
285 ::std::string
const& animationData,
286 ::std::string
const& capeId,
290 bool isPersonaCapeOnClassicSkin,
292 bool overridesPlayerAppearance