Botcraft 1.21.4
Loading...
Searching...
No Matches
AllServerboundMessages.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
23// Handshaking
25
26// Login
27#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
29#endif
30#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
32#endif
33#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
35#endif
38#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
40#endif
41
42// Play
44#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
46#endif
47#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
49#endif
50#if PROTOCOL_VERSION > 759 /* > 1.19 */
52#endif
53#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
55#endif
56#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
58#endif
60#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
62#endif
63#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
65#endif
66#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
68#endif
72#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
74#endif
75#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
77#endif
78#if PROTOCOL_VERSION < 755 /* < 1.17 */
80#endif
81#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
83#endif
86#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
88#endif
89#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
91#endif
93#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
95#endif
96#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
98#endif
99#if PROTOCOL_VERSION < 477 /* < 1.14 */
101#endif
102#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
104#endif
106#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
108#endif
110#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
112#endif
113#if PROTOCOL_VERSION < 755 /* < 1.17 */
115#endif
119#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
121#endif
124#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
127#endif
128#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
130#endif
131#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
133#endif
139#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
141#endif
142#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
144#endif
145#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
148#endif
149#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
151#endif
152#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
154#endif
157#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
159#endif
160#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
163#endif
165#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
168#endif
170#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
172#endif
173#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
175#endif
181
182// Status
185
186
187namespace ProtocolCraft
188{
189#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
192#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
194#endif
200#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
201 ,
203#endif
204 >;
205#endif
206
209 >;
210
211 using AllServerboundLoginMessages = std::tuple<
214#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
215 ,
216 ServerboundCustomQueryPacket
217#endif
218#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
219 ,
222#endif
223#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
224 ,
226#endif
227 >;
228
229 using AllServerboundPlayMessages = std::tuple<
231#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
233#endif
234#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
236#endif
237#if PROTOCOL_VERSION < 393 /* < 1.13 */
239#endif
240#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
242#endif
243#if PROTOCOL_VERSION > 759 /* > 1.19 */
245#endif
246#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
248#endif
249#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
251#endif
253#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
254 ServerboundChatPreviewPacket,
255#endif
256#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
258#endif
259#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
261#endif
263#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
265#endif
267#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
269#endif
270#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
272#endif
273#if PROTOCOL_VERSION < 755 /* < 1.17 */
274 ServerboundContainerAckPacket,
275#endif
276#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
278#endif
279#if PROTOCOL_VERSION < 477 /* < 1.14 */
280 ServerboundEnchantItemPacket,
281#endif
284#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
286#endif
287#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
289#endif
291#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
293#endif
294#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
297#endif
299#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
301#endif
303#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
305#endif
306#if PROTOCOL_VERSION < 477 /* < 1.14 */
307 ServerboundMovePlayerPacket,
308#endif
312#if PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */
313 ServerboundMovePlayerPacket,
314#endif
315#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
317#endif
320#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
323#endif
324#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
325 ServerboundPickItemPacket,
326#endif
327#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
329#endif
335#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
337#endif
338#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
340#endif
341#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
343#endif
344#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
345 ServerboundRecipeBookUpdatePacket,
346#endif
347#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
350#endif
351#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
353#endif
356#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
359#endif
361#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
364#endif
366#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
368#endif
369#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
371#endif
377 >;
378
382 >;
383
385#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
387#endif
392 >;
393} //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< ServerboundAcceptTeleportationPacket, ServerboundBlockEntityTagQueryPacket, ServerboundSelectBundleItemPacket, ServerboundChangeDifficultyPacket, ServerboundChatAckPacket, ServerboundChatCommandPacket, ServerboundChatCommandSignedPacket, ServerboundChatPacket, ServerboundChatSessionUpdatePacket, ServerboundChunkBatchReceivedPacket, ServerboundClientCommandPacket, ServerboundClientTickEndPacket, ServerboundClientInformationPacket, ServerboundCommandSuggestionPacket, ServerboundConfigurationAcknowledgedPacket, ServerboundContainerButtonClickPacket, ServerboundContainerClickPacket, ServerboundContainerClosePacket, ServerboundContainerSlotStateChangedPacket, ServerboundCookieResponsePacket, ServerboundCustomPayloadPacket, ServerboundDebugSampleSubscriptionPacket, 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, ServerboundSignUpdatePacket, ServerboundSwingPacket, ServerboundTeleportToEntityPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket > AllServerboundPlayMessages
Internal::tuple_cat_t< AllServerboundConfigurationMessages, AllServerboundHandshakingMessages, AllServerboundLoginMessages, AllServerboundPlayMessages, AllServerboundStatusMessages > AllServerboundMessages
std::tuple< ServerboundHelloPacket, ServerboundKeyPacket, ServerboundCustomQueryAnswerPacket, ServerboundLoginAcknowledgedPacket, ServerboundCookieResponseLoginPacket > AllServerboundLoginMessages
std::tuple< ServerboundStatusRequestPacket, ServerboundPingRequestStatusPacket > AllServerboundStatusMessages
std::tuple< ServerboundClientIntentionPacket > AllServerboundHandshakingMessages
std::tuple< ServerboundClientInformationConfigurationPacket, ServerboundCookieResponseConfigurationPacket, ServerboundCustomPayloadConfigurationPacket, ServerboundFinishConfigurationPacket, ServerboundKeepAliveConfigurationPacket, ServerboundPongConfigurationPacket, ServerboundResourcePackConfigurationPacket, ServerboundSelectKnownPacksPacket > AllServerboundConfigurationMessages