Botcraft 26.1.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 */
203#endif
206#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
208#endif
211
212// Status
215
216
217namespace ProtocolCraft
218{
219#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
222#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
224#endif
230#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
231 ,
233#endif
234#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
235 ,
237#endif
238#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
239 ,
241#endif
242 >;
243#endif
244
247 >;
248
249 using AllServerboundLoginPackets = std::tuple<
252#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
253 ,
254 ServerboundCustomQueryPacket
255#endif
256#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
257 ,
260#endif
261#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
262 ,
264#endif
265 >;
266
267 using AllServerboundPlayPackets = std::tuple<
269#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
271#endif
272#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
274#endif
275#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
277#endif
278#if PROTOCOL_VERSION < 393 /* < 1.13 */
280#endif
281#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
283#endif
284#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
286#endif
287#if PROTOCOL_VERSION > 759 /* > 1.19 */
289#endif
290#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
292#endif
293#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
295#endif
297#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
298 ServerboundChatPreviewPacket,
299#endif
300#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
302#endif
303#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
305#endif
307#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
309#endif
311#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
313#endif
314#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
316#endif
317#if PROTOCOL_VERSION < 755 /* < 1.17 */
318 ServerboundContainerAckPacket,
319#endif
320#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
322#endif
323#if PROTOCOL_VERSION < 477 /* < 1.14 */
324 ServerboundEnchantItemPacket,
325#endif
328#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
330#endif
331#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
333#endif
335#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
336 ServerboundDebugSampleSubscriptionPacket,
337#endif
338#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
340#endif
341#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
344#endif
346#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
348#endif
350#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
352#endif
353#if PROTOCOL_VERSION < 477 /* < 1.14 */
354 ServerboundMovePlayerPacket,
355#endif
359#if PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */
360 ServerboundMovePlayerPacket,
361#endif
362#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
364#endif
367#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
370#endif
371#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
372 ServerboundPickItemPacket,
373#endif
374#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
376#endif
382#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
384#endif
385#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
387#endif
388#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
390#endif
391#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
392 ServerboundRecipeBookUpdatePacket,
393#endif
394#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
397#endif
398#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
400#endif
403#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
406#endif
408#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
411#endif
413#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
415#endif
416#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
418#endif
419#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
421#endif
422#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
424#endif
426#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
428#endif
431#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
433#endif
436#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
437 ,
439#endif
440 >;
441
442 using AllServerboundStatusPackets = std::tuple<
445 >;
446
448#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
450#endif
455 >;
456} //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, ServerboundSpectateEntityPacket, ServerboundSwingPacket, ServerboundTeleportToEntityPacket, ServerboundTestInstanceBlockActionPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket, ServerboundCustomClickActionPacket > AllServerboundPlayPackets