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
15class PersonaPiece {
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
66public:
67 // prevent constructor by default
68 PersonaPiece& operator=(PersonaPiece const&);
69 PersonaPiece(PersonaPiece const&);
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCNAPI PersonaPiece();
75
76 MCNAPI_C ::std::string getPieceName() const;
77
78 MCNAPI_C ::TintMapColor getTintBaseColor() const;
79
80 MCNAPI_C bool getTintMapColor(::TintMapColor& tintColor) const;
81
82 MCNAPI_C void hipBoneParentRetarget();
83
84 MCNAPI_C void initLocalizationDictionary();
85
86 MCNAPI_C bool isValid() const;
87
88 MCNAPI_C void setPieceNameAsLocKey(::std::string const& pieceName);
89
90 MCNAPI ~PersonaPiece();
91 // NOLINTEND
92
93public:
94 // static functions
95 // NOLINTBEGIN
96 MCNAPI_C static ::PersonaPiece createPersonaPieceFromPiecePack(
97 ::std::shared_ptr<::Pack> sourcePack,
98 ::PersonaPiece::FilePaths const& filePaths,
99 bool differPieceAndPackIds,
100 bool isTestResourcePack
101 );
102 // NOLINTEND
103
104public:
105 // static variables
106 // NOLINTBEGIN
107 MCNAPI static ::PersonaPiece const& INVALID_PIECE();
108 // NOLINTEND
109
110public:
111 // constructor thunks
112 // NOLINTBEGIN
113 MCNAPI void* $ctor();
114
115 MCNAPI_C void* $ctor(::PersonaPiece&&);
116
117 MCNAPI_C void* $ctor(::PersonaPiece const&);
118
119 MCNAPI_C void* $ctor(
120 ::std::string const& pieceId,
121 ::PackIdVersion const& packIdVersion,
122 ::persona::PieceType pieceTypeId,
123 bool platformLocked,
124 bool titleLocked
125 );
126 // NOLINTEND
127
128public:
129 // destructor thunk
130 // NOLINTBEGIN
131 MCNAPI void $dtor();
132 // NOLINTEND
133};
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