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_21_110::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_21_110::BlockDefinition::States::IntegerRange>>
98 mIntegerRangeStates;
99 // NOLINTEND
100
101public:
102 // member functions
103 // NOLINTBEGIN
104 MCAPI States();
105
107
108 MCAPI ::std::unordered_map<
109 ::std::string,
110 ::std::variant<
111 ::std::vector<::std::string>,
112 ::std::vector<bool>,
113 ::std::vector<int>,
115 getter() const;
116
117 MCAPI ::SharedTypes::v1_21_110::BlockDefinition::States&
119
120 MCAPI ::SharedTypes::v1_21_110::BlockDefinition::States&
122
123 MCAPI void setter(
124 ::std::unordered_map<
125 ::std::string,
126 ::std::variant<
127 ::std::vector<::std::string>,
128 ::std::vector<bool>,
129 ::std::vector<int>,
131 );
132
133 MCAPI ~States();
134 // NOLINTEND
135
136public:
137 // static functions
138 // NOLINTBEGIN
139 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
140 // NOLINTEND
141
142public:
143 // constructor thunks
144 // NOLINTBEGIN
145 MCAPI void* $ctor();
146
148 // NOLINTEND
149
150public:
151 // destructor thunk
152 // NOLINTBEGIN
153 MCAPI void $dtor();
154 // NOLINTEND
155};
156
157} // namespace SharedTypes::v1_21_110::BlockDefinition
Definition ReflectionCtx.h:11
Definition ctx.h:5