LeviLamina
Loading...
Searching...
No Matches
AvailableCommandsPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/Packet.h"
8#include "mc/platform/Result.h"
9#include "mc/server/commands/CommandPermissionLevel.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
15// clang-format on
16
18public:
19 // AvailableCommandsPacket inner types declare
20 // clang-format off
22 struct CommandData;
24 struct EnumData;
25 struct OverloadData;
26 struct ParamData;
27 struct SoftEnumData;
28 // clang-format on
29
30 // AvailableCommandsPacket inner types define
31 struct EnumData {
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 32, ::std::string> name;
36 ::ll::TypedStorage<8, 24, ::std::vector<uint>> values;
37 // NOLINTEND
38
39 public:
40 // prevent constructor by default
41 EnumData& operator=(EnumData const&);
42 EnumData(EnumData const&);
43
44 public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI EnumData();
48
50
51 MCAPI ~EnumData();
52 // NOLINTEND
53
54 public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor();
58
59 MCFOLD void* $ctor(::AvailableCommandsPacket::EnumData&&);
60 // NOLINTEND
61
62 public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCFOLD void $dtor();
66 // NOLINTEND
67 };
68
70 public:
71 // member variables
72 // NOLINTBEGIN
73 ::ll::TypedStorage<8, 32, ::std::string> name;
74 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<uint, uint>>> values;
75 // NOLINTEND
76 };
77
78 struct SoftEnumData {
79 public:
80 // member variables
81 // NOLINTBEGIN
82 ::ll::TypedStorage<8, 32, ::std::string> name;
83 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> values;
84 // NOLINTEND
85
86 public:
87 // prevent constructor by default
88 SoftEnumData& operator=(SoftEnumData const&);
91
92 public:
93 // member functions
94 // NOLINTBEGIN
96
97 MCAPI ~SoftEnumData();
98 // NOLINTEND
99
100 public:
101 // constructor thunks
102 // NOLINTBEGIN
103 MCFOLD void* $ctor(::AvailableCommandsPacket::SoftEnumData&&);
104 // NOLINTEND
105
106 public:
107 // destructor thunk
108 // NOLINTBEGIN
109 MCFOLD void $dtor();
110 // NOLINTEND
111 };
112
114 public:
115 // member variables
116 // NOLINTBEGIN
117 ::ll::TypedStorage<4, 4, uint> enumValueSymbol;
118 ::ll::TypedStorage<4, 4, uint> enumSymbol;
119 ::ll::TypedStorage<8, 24, ::std::vector<uchar>> constraints;
120 // NOLINTEND
121
122 public:
123 // prevent constructor by default
127
128 public:
129 // member functions
130 // NOLINTBEGIN
132
133 MCAPI ~ConstrainedValueData();
134 // NOLINTEND
135
136 public:
137 // constructor thunks
138 // NOLINTBEGIN
140 // NOLINTEND
141
142 public:
143 // destructor thunk
144 // NOLINTBEGIN
145 MCFOLD void $dtor();
146 // NOLINTEND
147 };
148
149 struct ParamData {
150 public:
151 // member variables
152 // NOLINTBEGIN
153 ::ll::TypedStorage<8, 32, ::std::string> name;
154 ::ll::TypedStorage<4, 4, uint> parseSymbol;
155 ::ll::TypedStorage<1, 1, bool> optional;
156 ::ll::TypedStorage<1, 1, uchar> paramOptions;
157 // NOLINTEND
158
159 public:
160 // prevent constructor by default
161 ParamData& operator=(ParamData const&);
162 ParamData(ParamData const&);
163 ParamData();
164
165 public:
166 // member functions
167 // NOLINTBEGIN
169
170 MCAPI ~ParamData();
171 // NOLINTEND
172
173 public:
174 // constructor thunks
175 // NOLINTBEGIN
176 MCAPI void* $ctor(::AvailableCommandsPacket::ParamData&&);
177 // NOLINTEND
178
179 public:
180 // destructor thunk
181 // NOLINTBEGIN
182 MCFOLD void $dtor();
183 // NOLINTEND
184 };
185
187 public:
188 // member variables
189 // NOLINTBEGIN
190 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::ParamData>> params;
191 ::ll::TypedStorage<1, 1, bool> isChaining;
192 // NOLINTEND
193
194 public:
195 // prevent constructor by default
196 OverloadData& operator=(OverloadData const&);
198 OverloadData();
199
200 public:
201 // member functions
202 // NOLINTBEGIN
204
205 MCAPI ~OverloadData();
206 // NOLINTEND
207
208 public:
209 // constructor thunks
210 // NOLINTBEGIN
211 MCAPI void* $ctor(::AvailableCommandsPacket::OverloadData&&);
212 // NOLINTEND
213
214 public:
215 // destructor thunk
216 // NOLINTBEGIN
217 MCFOLD void $dtor();
218 // NOLINTEND
219 };
220
221 struct CommandData {
222 public:
223 // member variables
224 // NOLINTBEGIN
225 ::ll::TypedStorage<8, 32, ::std::string> name;
226 ::ll::TypedStorage<8, 32, ::std::string> description;
227 ::ll::TypedStorage<2, 2, ushort> flags;
228 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> permission;
229 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::OverloadData>> overloads;
230 ::ll::TypedStorage<8, 24, ::std::vector<uint>> chainedSubcommandIndexes;
231 ::ll::TypedStorage<4, 4, int> aliasEnum;
232 // NOLINTEND
233
234 public:
235 // prevent constructor by default
236 CommandData& operator=(CommandData const&);
237 CommandData(CommandData const&);
238 CommandData();
239
240 public:
241 // member functions
242 // NOLINTBEGIN
244
245 MCAPI ~CommandData();
246 // NOLINTEND
247
248 public:
249 // constructor thunks
250 // NOLINTBEGIN
251 MCAPI void* $ctor(::AvailableCommandsPacket::CommandData&&);
252 // NOLINTEND
253
254 public:
255 // destructor thunk
256 // NOLINTBEGIN
257 MCAPI void $dtor();
258 // NOLINTEND
259 };
260
261public:
262 // member variables
263 // NOLINTBEGIN
264 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mEnumValues;
265 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mPostfixes;
266 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::EnumData>> mEnums;
267 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mChainedSubcommandValues;
268 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::ChainedSubcommandData>> mChainedSubcommands;
269 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::CommandData>> mCommands;
270 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::SoftEnumData>> mSoftEnums;
271 ::ll::TypedStorage<8, 24, ::std::vector<::AvailableCommandsPacket::ConstrainedValueData>> mConstraints;
272 // NOLINTEND
273
274public:
275 // virtual functions
276 // NOLINTBEGIN
277 // vIndex: 0
278 virtual ~AvailableCommandsPacket() /*override*/;
279
280 // vIndex: 1
281 virtual ::MinecraftPacketIds getId() const /*override*/;
282
283 // vIndex: 2
284 virtual ::std::string getName() const /*override*/;
285
286 // vIndex: 6
287 virtual void write(::BinaryStream& stream) const /*override*/;
288
289 // vIndex: 15
290 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
291 // NOLINTEND
292
293public:
294 // destructor thunk
295 // NOLINTBEGIN
296 MCAPI void $dtor();
297 // NOLINTEND
298
299public:
300 // virtual function thunks
301 // NOLINTBEGIN
302 MCAPI ::MinecraftPacketIds $getId() const;
303
304 MCAPI ::std::string $getName() const;
305
306 MCAPI void $write(::BinaryStream& stream) const;
307
308 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
309 // NOLINTEND
310
311public:
312 // vftables
313 // NOLINTBEGIN
314 MCNAPI static void** $vftable();
315 // NOLINTEND
316};
Definition AvailableCommandsPacket.h:17
static MCAPI void ** $vftable()
Definition BinaryStream.h:10
Definition Packet.h:28
Definition ReadOnlyBinaryStream.h:8
STL namespace.
Definition AvailableCommandsPacket.h:69
Definition AvailableCommandsPacket.h:221
Definition AvailableCommandsPacket.h:113
Definition AvailableCommandsPacket.h:31
Definition AvailableCommandsPacket.h:186
Definition AvailableCommandsPacket.h:149
Definition AvailableCommandsPacket.h:78