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/util/ThreadOwner.h"
7#include "mc/world/actor/player/persona/ArmSize.h"
8#include "mc/world/actor/player/persona/PieceType.h"
9
10// auto generated forward declare list
11// clang-format off
15class TintMapColor;
16namespace Json { class Value; }
17namespace mce { class Color; }
18namespace mce { struct Image; }
19// clang-format on
20
22public:
23 // SerializedSkin inner types define
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<
31 8,
32 16,
33 ::std::shared_ptr<::Bedrock::Application::
34 ThreadOwner<::SerializedSkinImpl, Bedrock::Application::ThreadOwnerBehavior::Assert>>>
35 mSkinImpl;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI SerializedSkin();
46
47 MCAPI SerializedSkin(
48 ::std::string const& name,
49 ::std::string const& playFabId,
50 ::std::string const& resourcePatch,
51 ::mce::Image const& skinImage,
52 ushort const& skinImageWidth,
53 ushort const& skinImageHeight,
54 ::mce::Image const& capeImage,
55 ushort const& capeImageWidth,
56 ushort const& capeImageHeight,
57 ::Json::Value&& geometryData,
58 ::MinEngineVersion const& geometryDataMinEngineVersion,
59 ::std::string const& animationData,
60 ::std::string const& capeId,
61 bool isTrustedSkin,
62 bool isPremium,
63 bool isPersona,
64 bool isPersonaCapeOnClassicSkin,
65 bool isPrimaryUser,
66 bool overridesPlayerAppearance
67 );
68
69 MCFOLD ::SerializedSkin& operator=(::SerializedSkin&&);
70
71 MCFOLD ::SerializedSkin& operator=(::SerializedSkin const&);
72
73 MCAPI void setPersonaAppearanceData(
74 ::persona::ArmSize::Type const& armSizeType,
75 ::mce::Color const& skinColor,
76 ::std::vector<::SerializedPersonaPieceHandle> personaPieces,
77 ::std::unordered_map<::persona::PieceType, ::TintMapColor> const& pieceTintColors
78 );
79
80 MCAPI ~SerializedSkin();
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
86 MCAPI void* $ctor();
87
88 MCAPI void* $ctor(
89 ::std::string const& name,
90 ::std::string const& playFabId,
91 ::std::string const& resourcePatch,
92 ::mce::Image const& skinImage,
93 ushort const& skinImageWidth,
94 ushort const& skinImageHeight,
95 ::mce::Image const& capeImage,
96 ushort const& capeImageWidth,
97 ushort const& capeImageHeight,
98 ::Json::Value&& geometryData,
99 ::MinEngineVersion const& geometryDataMinEngineVersion,
100 ::std::string const& animationData,
101 ::std::string const& capeId,
102 bool isTrustedSkin,
103 bool isPremium,
104 bool isPersona,
105 bool isPersonaCapeOnClassicSkin,
106 bool isPrimaryUser,
107 bool overridesPlayerAppearance
108 );
109 // NOLINTEND
110
111public:
112 // destructor thunk
113 // NOLINTBEGIN
114 MCFOLD void $dtor();
115 // NOLINTEND
116};
Definition ThreadOwner.h:9
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition SerializedPersonaPieceHandle.h:9
Definition SerializedSkinImpl.h:26
Definition SerializedSkin.h:21
Definition TintMapColor.h:8
Definition Color.h:13
Definition Image.h:12