Botcraft 26.2
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
50#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
52#endif
53#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
55#endif
56#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
58#endif
59#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
61#endif
62#if PROTOCOL_VERSION > 759 /* > 1.19 */
64#endif
65#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
67#endif
68#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
70#endif
72#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
74#endif
75#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
77#endif
78#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
80#endif
84#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
86#endif
87#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
89#endif
90#if PROTOCOL_VERSION < 755 /* < 1.17 */
92#endif
93#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
95#endif
98#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
100#endif
101#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
103#endif
104#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
106#endif
108#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
110#endif
111#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
113#endif
114#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
116#endif
117#if PROTOCOL_VERSION < 477 /* < 1.14 */
119#endif
120#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
122#endif
124#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
126#endif
128#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
130#endif
131#if PROTOCOL_VERSION < 755 /* < 1.17 */
133#endif
137#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
139#endif
142#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
145#endif
146#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
148#endif
149#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
151#endif
157#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
159#endif
160#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
162#endif
163#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
166#endif
167#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
169#endif
170#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
172#endif
175#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
177#endif
178#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
181#endif
183#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
186#endif
188#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
190#endif
191#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
193#endif
194#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
196#endif
197#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
199#endif
201#if PROTOCOL_VERSION > 774 /* > 1.21.11 */ && PROTOCOL_VERSION < 776 /* < 26.2 */
203#endif
204#if PROTOCOL_VERSION > 775 /* > 26.1.2 */
206#endif
209#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
211#endif
214
215// Status
218
219
220namespace ProtocolCraft
221{
222#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
225#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
227#endif
233#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
234 ,
236#endif
237#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
238 ,
240#endif
241#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
242 ,
244#endif
245 >;
246#endif
247
250 >;
251
252 using AllServerboundLoginPackets = std::tuple<
255#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
256 ,
257 ServerboundCustomQueryPacket
258#endif
259#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
260 ,
263#endif
264#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
265 ,
267#endif
268 >;
269
270 using AllServerboundPlayPackets = std::tuple<
272#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
274#endif
275#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
277#endif
278#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
280#endif
281#if PROTOCOL_VERSION < 393 /* < 1.13 */
283#endif
284#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
286#endif
287#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
289#endif
290#if PROTOCOL_VERSION > 759 /* > 1.19 */
292#endif
293#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
295#endif
296#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
298#endif
300#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
301 ServerboundChatPreviewPacket,
302#endif
303#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
305#endif
306#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
308#endif
310#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
312#endif
314#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
316#endif
317#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
319#endif
320#if PROTOCOL_VERSION < 755 /* < 1.17 */
321 ServerboundContainerAckPacket,
322#endif
323#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
325#endif
326#if PROTOCOL_VERSION < 477 /* < 1.14 */
327 ServerboundEnchantItemPacket,
328#endif
331#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
333#endif
334#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
336#endif
338#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
339 ServerboundDebugSampleSubscriptionPacket,
340#endif
341#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
343#endif
344#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
347#endif
349#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
351#endif
353#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
355#endif
356#if PROTOCOL_VERSION < 477 /* < 1.14 */
357 ServerboundMovePlayerPacket,
358#endif
362#if PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */
363 ServerboundMovePlayerPacket,
364#endif
365#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
367#endif
370#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
373#endif
374#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
375 ServerboundPickItemPacket,
376#endif
377#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
379#endif
385#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
387#endif
388#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
390#endif
391#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
393#endif
394#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
395 ServerboundRecipeBookUpdatePacket,
396#endif
397#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
400#endif
401#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
403#endif
406#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
409#endif
411#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
414#endif
416#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
418#endif
419#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
421#endif
422#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
424#endif
425#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
427#endif
429#if PROTOCOL_VERSION > 774 /* > 1.21.11 */ && PROTOCOL_VERSION < 776 /* < 26.2 */
430 ServerboundSpectateEntityPacket,
431#endif
432#if PROTOCOL_VERSION > 775 /* > 26.1.2 */
434#endif
437#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
439#endif
442#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
443 ,
445#endif
446 >;
447
448 using AllServerboundStatusPackets = std::tuple<
451 >;
452
454#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
456#endif
461 >;
462} //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, ServerboundRecipeBookChangeSettingsPacket, ServerboundRecipeBookSeenRecipePacket, ServerboundRenameItemPacket, ServerboundResourcePackPacket, ServerboundSeenAdvancementsPacket, ServerboundSelectTradePacket, ServerboundSetBeaconPacket, ServerboundSetCarriedItemPacket, ServerboundSetCommandBlockPacket, ServerboundSetCommandMinecartPacket, ServerboundSetCreativeModeSlotPacket, ServerboundSetGameRulePacket, ServerboundSetJigsawBlockPacket, ServerboundSetStructureBlockPacket, ServerboundSetTestBlockPacket, ServerboundSignUpdatePacket, ServerboundSpectatorActionPacket, ServerboundSwingPacket, ServerboundTeleportToEntityPacket, ServerboundTestInstanceBlockActionPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket, ServerboundCustomClickActionPacket > AllServerboundPlayPackets