Skip to content
LeviLamina
Loading...
Searching...
No Matches
persona.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/shared_types/persona/PieceType.h"
8#include "mc/world/actor/player/persona/Rarity.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace mce { class Color; }
13namespace mce { class UUID; }
14class UIPropertyBag;
15namespace persona { struct DefaultAppearance; }
16namespace persona { struct PackEvictionPass; }
17namespace persona { struct PackEvictionState; }
18namespace persona { struct PackEvictionTarget; }
19namespace persona { struct PackEvictionTelemetrySnapshot; }
20// clang-format on
21
22namespace persona {
23// functions
24// NOLINTBEGIN
25#ifdef LL_PLAT_C
26MCAPI ::mce::Color getPieceRarityColor(::UIPropertyBag const& bag, ::persona::Rarity pieceRarity);
27
28MCAPI ::persona::Rarity pieceRarityFromString(::std::string const& rarityTypeStr);
29#endif
30
31MCAPI ::SharedTypes::persona::PieceType pieceTypeFromString(::std::string const& assetTypeStr);
32
33#ifdef LL_PLAT_C
34MCAPI ::persona::PackEvictionTelemetrySnapshot
35recordEvictionPass(::persona::PackEvictionPass const& pass, ::persona::PackEvictionState& state);
36
37MCAPI ::std::string stringFromPieceRarity(::persona::Rarity const& rarity);
38
39MCAPI ::std::string stringFromPieceRarityNotLocalized(::persona::Rarity const& rarity);
40
41MCAPI ::std::string const& stringFromPieceType(::SharedTypes::persona::PieceType assetType, bool isDefaultItem);
42
43MCAPI bool tryDeleteCachedPack(::persona::PackEvictionTarget const& target);
44
45MCAPI ::std::string ttsStringFromPieceType(::SharedTypes::persona::PieceType assetType, bool isDefaultItem);
46#endif
47// NOLINTEND
48
49// static variables
50// NOLINTBEGIN
51#ifdef LL_PLAT_C
52MCAPI ::std::string const& ANIMATED_128X128_NAME();
53
54MCAPI ::std::string const& ANIMATED_128X128_TEXTURE_CONTROLLER_FIRST_PERSON();
55
56MCAPI ::std::string const& ANIMATED_128X128_TEXTURE_CONTROLLER_THIRD_PERSON();
57
58MCAPI ::HashedString const& ANIMATED_128X128_TEXTURE_FRAMES_VARIABLE();
59
60MCAPI ::std::string const& ANIMATED_32X32_NAME();
61
62MCAPI ::std::string const& ANIMATED_32X32_TEXTURE_CONTROLLER_FIRST_PERSON();
63
64MCAPI ::std::string const& ANIMATED_32X32_TEXTURE_CONTROLLER_THIRD_PERSON();
65
66MCAPI ::HashedString const& ANIMATED_32X32_TEXTURE_FRAMES_VARIABLE();
67
68MCAPI ::std::string const& ANIMATED_FACE_CONTROLLER_FIRST_PERSON();
69
70MCAPI ::std::string const& ANIMATED_FACE_CONTROLLER_THIRD_PERSON();
71
72MCAPI ::std::string const& ANIMATED_FACE_NAME();
73
74MCAPI ::HashedString const& ANIMATED_FACE_TEXTURE_FRAMES_VARIABLE();
75
76MCAPI ::std::string const& DOWNLOAD_IMPORT_CANCELLED();
77
78MCAPI ::std::string const& DOWNLOAD_IMPORT_FAILED();
79
80MCAPI ::persona::DefaultAppearance const& INVALID_DEFAULT_APPEARANCE();
81
82MCAPI ::std::string const& INVALID_PERSONA();
83
84MCAPI ::std::string const& ITEM_SELECTION();
85
86MCAPI ::std::string const& LOADING_APPEARANCE_TIME_OUT();
87
88MCAPI ::std::string const& MINECRAFT_CREATOR_STR();
89
90MCAPI ::std::string const& MISSING_DOWNLOADER();
91
92MCAPI ::mce::UUID const& NONE_PIECE_ID();
93
94MCAPI ::std::string const& NO_ERROR_OCCURRED();
95
96MCAPI ::std::string const& PERSONA_LOD_CONTROLLER_THIRD_PERSON();
97
98MCAPI ::std::string const& PIECE_SIDE_BOTH_STR();
99
100MCAPI ::std::string const& PIECE_SIDE_LEFT_STR();
101
102MCAPI ::std::string const& PIECE_SIDE_RIGHT_STR();
103
104MCAPI ::std::string const&& PIECE_TYPE_ARMS_STR();
105
106MCAPI ::std::string const&& PIECE_TYPE_BACK_STR();
107
108MCAPI ::std::string const&& PIECE_TYPE_BODY_STR();
109
110MCAPI ::std::string const&& PIECE_TYPE_BOTTOM_STR();
111
112MCAPI ::std::string const&& PIECE_TYPE_CAPES_STR();
113
114MCAPI ::std::string const&& PIECE_TYPE_CLASSIC_SKIN_STR();
115
116MCAPI ::std::string const&& PIECE_TYPE_DRESS_STR();
117
118MCAPI ::std::string const&& PIECE_TYPE_EMOTE_STR();
119
120MCAPI ::std::string const&& PIECE_TYPE_EYES_STR();
121
122MCAPI ::std::string const&& PIECE_TYPE_FACE_ACCESSORY_STR();
123
124MCAPI ::std::string const&& PIECE_TYPE_FACIAL_HAIR_STR();
125
126MCAPI ::std::string const&& PIECE_TYPE_FEET_STR();
127
128MCAPI ::std::string const&& PIECE_TYPE_HAIR_STR();
129
130MCAPI ::std::string const&& PIECE_TYPE_HANDS_STR();
131
132MCAPI ::std::string const&& PIECE_TYPE_HEAD_STR();
133
134MCAPI ::std::string const&& PIECE_TYPE_HIGH_PANTS_STR();
135
136MCAPI ::std::string const&& PIECE_TYPE_HOOD_STR();
137
138MCAPI ::std::string const&& PIECE_TYPE_LEFT_ARM();
139
140MCAPI ::std::string const&& PIECE_TYPE_LEFT_LEG();
141
142MCAPI ::std::string const&& PIECE_TYPE_LEGS_STR();
143
144MCAPI ::std::string const&& PIECE_TYPE_MOUTH_STR();
145
146MCAPI ::std::string const&& PIECE_TYPE_OUTERWEAR_STR();
147
148MCAPI ::std::string const&& PIECE_TYPE_RIGHT_ARM();
149
150MCAPI ::std::string const&& PIECE_TYPE_RIGHT_LEG();
151
152MCAPI ::std::string const&& PIECE_TYPE_SKELETON_STR();
153
154MCAPI ::std::string const&& PIECE_TYPE_SKIN_STR();
155
156MCAPI ::std::string const&& PIECE_TYPE_TOP_STR();
157
158MCAPI ::std::string const&& PIECE_TYPE_UNKNOWN_DEFAULT_ITEM_STR();
159
160MCAPI ::std::string const&& PIECE_TYPE_UNKNOWN_STR();
161
162MCAPI ::std::string const&& PIECE_TYPE_UNSUPPORTED_STR();
163
164MCAPI ::std::string const& RARITY_NONE();
165
166MCAPI ::std::unordered_map<::persona::Rarity, ::std::string> const& RarityToStringMap();
167#endif
168
169MCAPI ::std::unordered_map<::std::string, ::SharedTypes::persona::PieceType> const& StringToPieceTypeMap();
170
171#ifdef LL_PLAT_C
172MCAPI ::std::unordered_map<::HashedString, ::persona::Rarity> const& StringToRarityMap();
173
174MCAPI ::std::string_view const& UNKNOWN_TYPE_STR();
175
176MCAPI ::HashedString const& USE_BLINKING_ANIMATION_VARIABLE();
177#endif
178// NOLINTEND
179
180} // namespace persona
Definition UIPropertyBag.h:5
Definition Color.h:13
Definition UUID.h:8
Definition DefaultAppearance.h:7
Definition PackEvictionPass.h:7
Definition PackEvictionState.h:7
Definition PackEvictionTarget.h:7
Definition PackEvictionTelemetrySnapshot.h:7