Botcraft 26.3
Loading...
Searching...
No Matches
AllServerboundPackets.hpp
Go to the documentation of this file.
1#pragma once
2
4
5// Configuration
6#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
8#endif
9#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
11#endif
12#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
18#endif
19#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
21#endif
22#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
24#endif
25#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
27#endif
28
29// Handshaking
31
32// Login
33#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
35#endif
36#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
38#endif
39#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
41#endif
44#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
46#endif
47
48// Play
49#if PROTOCOL_VERSION > 47 /* > 1.8.9 */
51#endif
52#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
54#endif
55#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
57#endif
58#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
60#endif
61#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
63#endif
64#if PROTOCOL_VERSION > 759 /* > 1.19 */
66#endif
67#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
69#endif
70#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
72#endif
74#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
76#endif
77#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
79#endif
80#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
82#endif
86#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
88#endif
89#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
91#endif
92#if PROTOCOL_VERSION < 755 /* < 1.17 */
94#endif
95#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
97#endif
100#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
102#endif
103#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
105#endif
106#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
108#endif
110#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
112#endif
113#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
115#endif
116#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
118#endif
119#if PROTOCOL_VERSION < 477 /* < 1.14 */
121#endif
122#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
124#endif
126#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
128#endif
130#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
132#endif
133#if PROTOCOL_VERSION < 755 /* < 1.17 */
135#endif
139#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
141#endif
142#if PROTOCOL_VERSION > 47 /* > 1.8.9 */
145#endif
146#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
149#endif
150#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
152#endif
153#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
155#endif
156#if PROTOCOL_VERSION > 335 /* > 1.12 */
158#endif
163#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
165#endif
166#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
168#endif
169#if PROTOCOL_VERSION > 776 /* > 26.2 */
171#endif
172#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
175#endif
176#if PROTOCOL_VERSION > 316 /* > 1.11.2 */ && PROTOCOL_VERSION < 751 /* < 1.16.2 */
178#endif
179#if PROTOCOL_VERSION > 316 /* > 1.11.2 */ && PROTOCOL_VERSION < 338 /* < 1.12.1 */
181#endif
182#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
184#endif
186#if PROTOCOL_VERSION > 316 /* > 1.11.2 */
188#endif
189#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
191#endif
192#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
195#endif
197#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
200#endif
202#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
204#endif
205#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
207#endif
208#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
210#endif
211#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
213#endif
215#if PROTOCOL_VERSION > 774 /* > 1.21.11 */ && PROTOCOL_VERSION < 776 /* < 26.2 */
217#endif
218#if PROTOCOL_VERSION > 775 /* > 26.1.2 */
220#endif
221#if PROTOCOL_VERSION < 777 /* < 26.3 */
223#endif
225#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
227#endif
229#if PROTOCOL_VERSION > 47 /* > 1.8.9 */
231#endif
232
233// Status
236
237
238namespace ProtocolCraft
239{
240#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
243#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
245#endif
251#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
252 ,
254#endif
255#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
256 ,
258#endif
259#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
260 ,
262#endif
263 >;
264#endif
265
268 >;
269
270 using AllServerboundLoginPackets = std::tuple<
273#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
274 ,
275 ServerboundCustomQueryPacket
276#endif
277#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
278 ,
281#endif
282#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
283 ,
285#endif
286 >;
287
288#if PROTOCOL_VERSION > 47 /* > 1.8.9 */
289 using AllServerboundPlayPackets = std::tuple<
291#if PROTOCOL_VERSION > 316 /* > 1.11.2 */ && PROTOCOL_VERSION < 338 /* < 1.12.1 */
292 ServerboundRecipePlacementPacket,
293#endif
294#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
296#endif
297#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
299#endif
300#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
302#endif
303#if PROTOCOL_VERSION < 393 /* < 1.13 */
305#endif
306#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
308#endif
309#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
311#endif
312#if PROTOCOL_VERSION > 759 /* > 1.19 */
314#endif
315#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
317#endif
318#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
320#endif
322#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
323 ServerboundChatPreviewPacket,
324#endif
325#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
327#endif
328#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
330#endif
332#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
334#endif
336#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
338#endif
339#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
341#endif
342#if PROTOCOL_VERSION < 755 /* < 1.17 */
343 ServerboundContainerAckPacket,
344#endif
345#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
347#endif
348#if PROTOCOL_VERSION < 477 /* < 1.14 */
349 ServerboundEnchantItemPacket,
350#endif
353#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
355#endif
356#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
358#endif
360#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
361 ServerboundDebugSampleSubscriptionPacket,
362#endif
363#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
365#endif
366#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
369#endif
371#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
373#endif
375#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
377#endif
378#if PROTOCOL_VERSION > 316 /* > 1.11.2 */ && PROTOCOL_VERSION < 477 /* < 1.14 */
379 ServerboundMovePlayerPacket,
380#endif
384#if PROTOCOL_VERSION < 335 /* < 1.12 */ || (PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */)
385 ServerboundMovePlayerPacket,
386#endif
387#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
389#endif
392#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
395#endif
396#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
397 ServerboundPickItemPacket,
398#endif
399#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
401#endif
402#if PROTOCOL_VERSION > 335 /* > 1.12 */
404#endif
409#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
411#endif
412#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
414#endif
415#if PROTOCOL_VERSION > 776 /* > 26.2 */
417#endif
418#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
420#endif
421#if PROTOCOL_VERSION > 316 /* > 1.11.2 */ && PROTOCOL_VERSION < 751 /* < 1.16.2 */
422 ServerboundRecipeBookUpdatePacket,
423#endif
424#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
427#endif
428#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
430#endif
432#if PROTOCOL_VERSION > 316 /* > 1.11.2 */
434#endif
435#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
438#endif
440#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
443#endif
445#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
447#endif
448#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
450#endif
451#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
453#endif
454#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
456#endif
458#if PROTOCOL_VERSION > 774 /* > 1.21.11 */ && PROTOCOL_VERSION < 776 /* < 26.2 */
459 ServerboundSpectateEntityPacket,
460#endif
461#if PROTOCOL_VERSION > 775 /* > 26.1.2 */
463#endif
464#if PROTOCOL_VERSION < 777 /* < 26.3 */
465 ServerboundSwingPacket,
466#endif
468#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
470#endif
473#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
474 ,
476#endif
477 >;
478#endif
479
480 using AllServerboundStatusPackets = std::tuple<
483 >;
484
485#if PROTOCOL_VERSION < 107 /* < 1.9 */
486 using AllServerboundPlayPackets = std::tuple<
490 ServerboundMovePlayerPacket,
497 ServerboundSwingPacket,
502 ServerboundContainerAckPacket,
504 ServerboundEnchantItemPacket,
513 >;
514#endif
515
517#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
519#endif
524 >;
525} //ProtocolCraft
decltype(std::tuple_cat(std::declval< input_t >()...)) tuple_cat_t
Concat multiple tuples in one big tuple.
Definition Templates.hpp:48
std::tuple< ServerboundStatusRequestPacket, ServerboundPingRequestStatusPacket > AllServerboundStatusPackets
Internal::tuple_cat_t< AllServerboundConfigurationPackets, AllServerboundHandshakingPackets, AllServerboundLoginPackets, AllServerboundPlayPackets, AllServerboundStatusPackets > AllServerboundPackets
std::tuple< ServerboundHelloPacket, ServerboundKeyPacket, ServerboundCustomQueryAnswerPacket, ServerboundLoginAcknowledgedPacket, ServerboundCookieResponseLoginPacket > AllServerboundLoginPackets
std::tuple< ServerboundClientIntentionPacket > AllServerboundHandshakingPackets
std::tuple< ServerboundClientInformationConfigurationPacket, ServerboundCookieResponseConfigurationPacket, ServerboundCustomPayloadConfigurationPacket, ServerboundFinishConfigurationPacket, ServerboundKeepAliveConfigurationPacket, ServerboundPongConfigurationPacket, ServerboundResourcePackConfigurationPacket, ServerboundSelectKnownPacksPacket, ServerboundCustomClickActionConfigurationPacket, ServerboundAcceptCodeOfConductPacket > AllServerboundConfigurationPackets
std::tuple< ServerboundAcceptTeleportationPacket, ServerboundAttackPacket, ServerboundBlockEntityTagQueryPacket, ServerboundSelectBundleItemPacket, ServerboundChangeDifficultyPacket, ServerboundChangeGameModePacket, ServerboundChatAckPacket, ServerboundChatCommandPacket, ServerboundChatCommandSignedPacket, ServerboundChatPacket, ServerboundChatSessionUpdatePacket, ServerboundChunkBatchReceivedPacket, ServerboundClientCommandPacket, ServerboundClientTickEndPacket, ServerboundClientInformationPacket, ServerboundCommandSuggestionPacket, ServerboundConfigurationAcknowledgedPacket, ServerboundContainerButtonClickPacket, ServerboundContainerClickPacket, ServerboundContainerClosePacket, ServerboundContainerSlotStateChangedPacket, ServerboundCookieResponsePacket, ServerboundCustomPayloadPacket, ServerboundDebugSubscriptionRequestPacket, ServerboundEditBookPacket, ServerboundEntityTagQueryPacket, ServerboundInteractPacket, ServerboundJigsawGeneratePacket, ServerboundKeepAlivePacket, ServerboundLockDifficultyPacket, ServerboundMovePlayerPacketPos, ServerboundMovePlayerPacketPosRot, ServerboundMovePlayerPacketRot, ServerboundMovePlayerPacketStatusOnly, ServerboundMoveVehiclePacket, ServerboundPaddleBoatPacket, ServerboundPickItemFromBlockPacket, ServerboundPickItemFromEntityPacket, ServerboundPingRequestPacket, ServerboundPlaceRecipePacket, ServerboundPlayerAbilitiesPacket, ServerboundPlayerActionPacket, ServerboundPlayerCommandPacket, ServerboundPlayerInputPacket, ServerboundPlayerLoadedPacket, ServerboundPongPacket, ServerboundPunchPacket, ServerboundRecipeBookChangeSettingsPacket, ServerboundRecipeBookSeenRecipePacket, ServerboundRenameItemPacket, ServerboundResourcePackPacket, ServerboundSeenAdvancementsPacket, ServerboundSelectTradePacket, ServerboundSetBeaconPacket, ServerboundSetCarriedItemPacket, ServerboundSetCommandBlockPacket, ServerboundSetCommandMinecartPacket, ServerboundSetCreativeModeSlotPacket, ServerboundSetGameRulePacket, ServerboundSetJigsawBlockPacket, ServerboundSetStructureBlockPacket, ServerboundSetTestBlockPacket, ServerboundSignUpdatePacket, ServerboundSpectatorActionPacket, ServerboundTeleportToEntityPacket, ServerboundTestInstanceBlockActionPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket, ServerboundCustomClickActionPacket > AllServerboundPlayPackets