Botcraft 1.21.10
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 > 340 /* > 1.12.2 */
52#endif
53#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
55#endif
56#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
58#endif
59#if PROTOCOL_VERSION > 759 /* > 1.19 */
61#endif
62#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
64#endif
65#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
67#endif
69#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
71#endif
72#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
74#endif
75#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
77#endif
81#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
83#endif
84#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
86#endif
87#if PROTOCOL_VERSION < 755 /* < 1.17 */
89#endif
90#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
92#endif
95#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
97#endif
98#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
100#endif
101#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
103#endif
105#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
107#endif
108#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
110#endif
111#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
113#endif
114#if PROTOCOL_VERSION < 477 /* < 1.14 */
116#endif
117#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
119#endif
121#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
123#endif
125#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
127#endif
128#if PROTOCOL_VERSION < 755 /* < 1.17 */
130#endif
134#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
136#endif
139#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
142#endif
143#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
145#endif
146#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
148#endif
154#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
156#endif
157#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
159#endif
160#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
163#endif
164#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
166#endif
167#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
169#endif
172#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
174#endif
175#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
178#endif
180#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
183#endif
185#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
187#endif
188#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
190#endif
191#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
193#endif
197#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
199#endif
202
203// Status
206
207
208namespace ProtocolCraft
209{
210#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
213#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
215#endif
221#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
222 ,
224#endif
225#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
226 ,
228#endif
229#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
230 ,
232#endif
233 >;
234#endif
235
238 >;
239
240 using AllServerboundLoginPackets = std::tuple<
243#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
244 ,
245 ServerboundCustomQueryPacket
246#endif
247#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
248 ,
251#endif
252#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
253 ,
255#endif
256 >;
257
258 using AllServerboundPlayPackets = std::tuple<
260#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
262#endif
263#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
265#endif
266#if PROTOCOL_VERSION < 393 /* < 1.13 */
268#endif
269#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
271#endif
272#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
274#endif
275#if PROTOCOL_VERSION > 759 /* > 1.19 */
277#endif
278#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
280#endif
281#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
283#endif
285#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
286 ServerboundChatPreviewPacket,
287#endif
288#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
290#endif
291#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
293#endif
295#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
297#endif
299#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
301#endif
302#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
304#endif
305#if PROTOCOL_VERSION < 755 /* < 1.17 */
306 ServerboundContainerAckPacket,
307#endif
308#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
310#endif
311#if PROTOCOL_VERSION < 477 /* < 1.14 */
312 ServerboundEnchantItemPacket,
313#endif
316#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
318#endif
319#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
321#endif
323#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 773 /* < 1.21.9 */
324 ServerboundDebugSampleSubscriptionPacket,
325#endif
326#if PROTOCOL_VERSION > 772 /* > 1.21.8 */
328#endif
329#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
332#endif
334#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
336#endif
338#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
340#endif
341#if PROTOCOL_VERSION < 477 /* < 1.14 */
342 ServerboundMovePlayerPacket,
343#endif
347#if PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */
348 ServerboundMovePlayerPacket,
349#endif
350#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
352#endif
355#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
358#endif
359#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
360 ServerboundPickItemPacket,
361#endif
362#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
364#endif
370#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
372#endif
373#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
375#endif
376#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
378#endif
379#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
380 ServerboundRecipeBookUpdatePacket,
381#endif
382#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
385#endif
386#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
388#endif
391#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
394#endif
396#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
399#endif
401#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
403#endif
404#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
406#endif
407#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
409#endif
413#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
415#endif
418#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
419 ,
421#endif
422 >;
423
424 using AllServerboundStatusPackets = std::tuple<
427 >;
428
430#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
432#endif
437 >;
438} //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, 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, ServerboundSetJigsawBlockPacket, ServerboundSetStructureBlockPacket, ServerboundSetTestBlockPacket, ServerboundSignUpdatePacket, ServerboundSwingPacket, ServerboundTeleportToEntityPacket, ServerboundTestInstanceBlockActionPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket, ServerboundCustomClickActionPacket > AllServerboundPlayPackets