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/world/actor/player/persona/PieceType.h"
7#include "mc/world/actor/player/persona/ProfileType.h"
8#include "mc/world/actor/player/persona/Rarity.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13namespace mce { class Color; }
14namespace mce { class UUID; }
15class UIPropertyBag;
16// clang-format on
17
18namespace persona {
19// functions
20// NOLINTBEGIN
21MCAPI_C ::std::string getPieceRarityBarTexture(::persona::Rarity pieceRarity);
22
23MCAPI_C ::mce::Color getPieceRarityColor(::UIPropertyBag const& bag, ::persona::Rarity pieceRarity);
24
25MCAPI_C int getRandomJitter();
26
27MCAPI_C ::persona::Rarity pieceRarityFromString(::std::string const& rarityTypeStr);
28
29MCAPI ::persona::PieceType pieceTypeFromString(::std::string const& assetTypeStr);
30
31MCAPI_C ::std::string stringFromPieceRarity(::persona::Rarity const& rarity);
32
33MCAPI_C ::std::string stringFromPieceRarityNotLocalized(::persona::Rarity const& rarity);
34
35MCAPI ::std::string const& stringFromPieceType(::persona::PieceType assetType, bool isDefaultItem);
36
37MCAPI_C ::std::string_view stringViewFromProfileType(::persona::ProfileType profileType);
38
39MCAPI_C ::std::string ttsStringFromPieceType(::persona::PieceType assetType, bool isDefaultItem);
40// NOLINTEND
41
42// static variables
43// NOLINTBEGIN
44MCAPI ::std::string const& ANIMATED_128X128_NAME();
45
46MCAPI ::std::string const& ANIMATED_128X128_TEXTURE_CONTROLLER_FIRST_PERSON();
47
48MCAPI ::std::string const& ANIMATED_128X128_TEXTURE_CONTROLLER_THIRD_PERSON();
49
50MCAPI ::HashedString const& ANIMATED_128X128_TEXTURE_FRAMES_VARIABLE();
51
52MCAPI ::std::string const& ANIMATED_32X32_NAME();
53
54MCAPI ::std::string const& ANIMATED_32X32_TEXTURE_CONTROLLER_FIRST_PERSON();
55
56MCAPI ::std::string const& ANIMATED_32X32_TEXTURE_CONTROLLER_THIRD_PERSON();
57
58MCAPI ::HashedString const& ANIMATED_32X32_TEXTURE_FRAMES_VARIABLE();
59
60MCAPI ::std::string const& ANIMATED_FACE_CONTROLLER_FIRST_PERSON();
61
62MCAPI ::std::string const& ANIMATED_FACE_CONTROLLER_THIRD_PERSON();
63
64MCAPI ::std::string const& ANIMATED_FACE_NAME();
65
66MCAPI ::HashedString const& ANIMATED_FACE_TEXTURE_FRAMES_VARIABLE();
67
68MCAPI_C ::mce::UUID const& NONE_PIECE_ID();
69
70MCAPI ::std::string const& NONE_PIECE_PATH();
71
72MCAPI_C uint const& RANDOM_DEFAULT_APPEARANCE_INDEX();
73
74MCAPI ::HashedString const& USE_BLINKING_ANIMATION_VARIABLE();
75// NOLINTEND
76
77} // namespace persona
Definition HashedString.h:5
Definition UIPropertyBag.h:5
Definition Color.h:13
Definition UUID.h:7