LeviLamina
Loading...
Searching...
No Matches
PersonaPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/player/persona/PieceType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Pack;
11class TintMapColor;
12struct PackIdVersion;
13// clang-format on
14
16public:
17 // PersonaPiece inner types declare
18 // clang-format off
19 struct FilePaths;
20 // clang-format on
21
22 // PersonaPiece inner types define
23 struct FilePaths {
24 public:
25 // member variables
26 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 FilePaths& operator=(FilePaths const&);
36 FilePaths(FilePaths const&);
37 FilePaths();
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
64 // NOLINTEND
65
66#ifdef LL_PLAT_S
67public:
68 // prevent constructor by default
69 PersonaPiece& operator=(PersonaPiece const&);
71
72#else // LL_PLAT_C
73public:
74 // prevent constructor by default
75 PersonaPiece& operator=(PersonaPiece const&);
76
77#endif
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCNAPI PersonaPiece();
82
83#ifdef LL_PLAT_C
85
86 MCNAPI PersonaPiece(::PersonaPiece const&);
87
88 MCNAPI PersonaPiece(
89 ::std::string const& pieceId,
90 ::PackIdVersion const& packIdVersion,
91 ::persona::PieceType pieceTypeId,
92 bool platformLocked,
93 bool titleLocked
94 );
95
96 MCNAPI ::std::string getPieceName() const;
97
98 MCNAPI ::TintMapColor getTintBaseColor() const;
99
100 MCNAPI bool getTintMapColor(::TintMapColor& tintColor) const;
101
102 MCNAPI void hipBoneParentRetarget();
103
104 MCNAPI void initLocalizationDictionary();
105
106 MCNAPI bool isValid() const;
107
108 MCNAPI bool operator!=(::PersonaPiece const& asset) const;
109
110 MCNAPI void setPieceNameAsLocKey(::std::string const& pieceName);
111#endif
112
114 // NOLINTEND
115
116public:
117 // static functions
118 // NOLINTBEGIN
119#ifdef LL_PLAT_C
120 MCNAPI static ::PersonaPiece createPersonaPieceFromPiecePack(
121 ::std::shared_ptr<::Pack> sourcePack,
122 ::PersonaPiece::FilePaths const& filePaths,
123 bool differPieceAndPackIds,
124 bool isTestResourcePack
125 );
126#endif
127 // NOLINTEND
128
129public:
130 // static variables
131 // NOLINTBEGIN
132 MCNAPI static ::PersonaPiece const& INVALID_PIECE();
133 // NOLINTEND
134
135public:
136 // constructor thunks
137 // NOLINTBEGIN
138 MCNAPI void* $ctor();
139
140#ifdef LL_PLAT_C
141 MCNAPI void* $ctor(::PersonaPiece&&);
142
143 MCNAPI void* $ctor(::PersonaPiece const&);
144
145 MCNAPI void* $ctor(
146 ::std::string const& pieceId,
147 ::PackIdVersion const& packIdVersion,
148 ::persona::PieceType pieceTypeId,
149 bool platformLocked,
150 bool titleLocked
151 );
152#endif
153 // NOLINTEND
154
155public:
156 // destructor thunk
157 // NOLINTBEGIN
158 MCNAPI void $dtor();
159 // NOLINTEND
160};
Definition Pack.h:27
MCAPI void $dtor()
static MCAPI ::PersonaPiece const & INVALID_PIECE()
MCAPI PersonaPiece()
MCAPI ~PersonaPiece()
MCAPI void * $ctor()
Definition TintMapColor.h:8
Definition PackIdVersion.h:10
Definition PersonaPiece.h:23
Definition Alias.h:14