LeviLamina
Loading...
Searching...
No Matches
States.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cereal { struct ReflectionCtx; }
8// clang-format on
9
10namespace SharedTypes::v1_26_10::BlockDefinition {
11
12struct States {
13public:
14 // States inner types declare
15 // clang-format off
16 struct IntegerRange;
17 struct Values;
18 // clang-format on
19
20 // States inner types define
21 struct IntegerRange {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mMin;
26 ::ll::TypedStorage<4, 4, int> mMax;
27 // NOLINTEND
28 };
29
30 struct Values {
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<
35 8,
36 40,
37 ::std::variant<
38 ::std::vector<::std::string>,
39 ::std::vector<bool>,
40 ::std::vector<int>,
42 mValues;
43 // NOLINTEND
44
45 public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI ~Values();
49 // NOLINTEND
50
51 public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCFOLD void $dtor();
55 // NOLINTEND
56 };
57
58 using BooleanState = ::std::vector<bool>;
59
60 using DataType = ::std::unordered_map<
61 ::std::string,
62 ::std::variant<
63 ::std::vector<::std::string>,
64 ::std::vector<bool>,
65 ::std::vector<int>,
67
69
70 using IntegerState = ::std::vector<int>;
71
72 using StatesVariant = ::std::variant<
73 ::std::vector<::std::string>,
74 ::std::vector<bool>,
75 ::std::vector<int>,
77
78 using StringState = ::std::vector<::std::string>;
79
81
82 using ValuesVariant = ::std::variant<
83 ::std::vector<::std::string>,
84 ::std::vector<bool>,
85 ::std::vector<int>,
87
88public:
89 // member variables
90 // NOLINTBEGIN
91 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::vector<::std::string>>> mStringStates;
92 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::vector<bool>>> mBooleanStates;
93 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::vector<int>>> mIntegerStates;
94 ::ll::TypedStorage<
95 8,
96 64,
97 ::std::unordered_map<::std::string, ::SharedTypes::v1_26_10::BlockDefinition::States::IntegerRange>>
98 mIntegerRangeStates;
99 // NOLINTEND
100
101public:
102 // member functions
103 // NOLINTBEGIN
104 MCAPI States();
105
107
109
110 MCAPI ::std::unordered_map<
111 ::std::string,
112 ::std::variant<
113 ::std::vector<::std::string>,
114 ::std::vector<bool>,
115 ::std::vector<int>,
117 getter() const;
118
119 MCAPI ::SharedTypes::v1_26_10::BlockDefinition::States&
121
122 MCAPI ::SharedTypes::v1_26_10::BlockDefinition::States&
124
125 MCAPI void setter(
126 ::std::unordered_map<
127 ::std::string,
128 ::std::variant<
129 ::std::vector<::std::string>,
130 ::std::vector<bool>,
131 ::std::vector<int>,
133 );
134
135 MCAPI ~States();
136 // NOLINTEND
137
138public:
139 // static functions
140 // NOLINTBEGIN
141 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
142 // NOLINTEND
143
144public:
145 // constructor thunks
146 // NOLINTBEGIN
147 MCAPI void* $ctor();
148
150
151 MCAPI void* $ctor(::SharedTypes::v1_26_10::BlockDefinition::States const&);
152 // NOLINTEND
153
154public:
155 // destructor thunk
156 // NOLINTBEGIN
157 MCAPI void $dtor();
158 // NOLINTEND
159};
160
161} // namespace SharedTypes::v1_26_10::BlockDefinition
Definition ReflectionCtx.h:11
Definition ctx.h:5