Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PersonaPieceMeta.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/persona/PieceType.h"
7#include "mc/deps/shared_types/v1_26_40/actor/TintColor.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace SharedTypes::v1_26_40::PersonaPieceMetaDef { struct AnimationSource; }
13namespace SharedTypes::v1_26_40::PersonaPieceMetaDef { struct GeometrySource; }
14namespace SharedTypes::v1_26_40::PersonaPieceMetaDef { struct TextureSource; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18namespace SharedTypes::v1_26_40::PersonaPieceMetaDef {
19
20struct PersonaPieceMeta {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 32, ::std::string> mPieceId;
25 ::ll::TypedStorage<8, 32, ::std::string> mPieceName;
26 ::ll::TypedStorage<4, 4, ::SharedTypes::persona::PieceType> mPieceType;
27 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mPieceSubType;
28 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mBodyVariant;
29 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mClothingMap;
30 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mFaceClothingMap;
31 ::ll::TypedStorage<8, 48, ::std::optional<::std::variant<::std::vector<::std::string>, ::std::string>>> mZone;
32 ::ll::
33 TypedStorage<8, 32, ::std::optional<::std::vector<::SharedTypes::v1_26_40::PersonaPieceMetaDef::TextureSource>>>
34 mTextureSources;
35 ::ll::TypedStorage<
36 8,
37 32,
38 ::std::optional<::std::vector<::SharedTypes::v1_26_40::PersonaPieceMetaDef::GeometrySource>>>
39 mGeometrySources;
40 ::ll::TypedStorage<
41 8,
42 32,
43 ::std::optional<::std::vector<::SharedTypes::v1_26_40::PersonaPieceMetaDef::AnimationSource>>>
44 mAnimationSources;
45 ::ll::TypedStorage<
46 8,
47 144,
48 ::std::optional<::std::variant<::SharedTypes::v1_26_40::PersonaPieceMetaDef::TintColor, ::std::string>>>
49 mTintColor;
50 ::ll::TypedStorage<
51 8,
52 144,
53 ::std::optional<::std::variant<::SharedTypes::v1_26_40::PersonaPieceMetaDef::TintColor, ::std::string>>>
54 mTintBaseColor;
55 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAllowTintOverride;
56 // NOLINTEND
57
58#ifdef LL_PLAT_S
59#else // LL_PLAT_C
60public:
61 // prevent constructor by default
62 PersonaPieceMeta();
63
64#endif
65public:
66 // member functions
67 // NOLINTBEGIN
68#ifdef LL_PLAT_C
70
71 MCNAPI ::SharedTypes::v1_26_40::PersonaPieceMetaDef::PersonaPieceMeta&
73
74 MCNAPI ::SharedTypes::v1_26_40::PersonaPieceMetaDef::PersonaPieceMeta&
76
77 MCNAPI bool operator==(::SharedTypes::v1_26_40::PersonaPieceMetaDef::PersonaPieceMeta const&) const;
78
79 MCNAPI ~PersonaPieceMeta();
80#endif
81 // NOLINTEND
82
83public:
84 // static functions
85 // NOLINTBEGIN
86#ifdef LL_PLAT_C
87 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
88#endif
89 // NOLINTEND
90
91public:
92 // static variables
93 // NOLINTBEGIN
94#ifdef LL_PLAT_C
95 MCNAPI static ::std::string_view const& NAME();
96
97 MCNAPI static ::SemVersionConstant const& VERSION();
98#endif
99 // NOLINTEND
100
101public:
102 // constructor thunks
103 // NOLINTBEGIN
104#ifdef LL_PLAT_C
106#endif
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112#ifdef LL_PLAT_C
113 MCNAPI void $dtor();
114#endif
115 // NOLINTEND
116};
117
118} // namespace SharedTypes::v1_26_40::PersonaPieceMetaDef
Definition SemVersionConstant.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5