Botcraft 1.21.5
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
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
176#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
178#endif
182#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
184#endif
187
188// Status
191
192
193namespace ProtocolCraft
194{
195#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
198#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
200#endif
206#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
207 ,
209#endif
210 >;
211#endif
212
215 >;
216
217 using AllServerboundLoginPackets = std::tuple<
220#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
221 ,
222 ServerboundCustomQueryPacket
223#endif
224#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
225 ,
228#endif
229#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
230 ,
232#endif
233 >;
234
235 using AllServerboundPlayPackets = std::tuple<
237#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
239#endif
240#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
242#endif
243#if PROTOCOL_VERSION < 393 /* < 1.13 */
245#endif
246#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
248#endif
249#if PROTOCOL_VERSION > 759 /* > 1.19 */
251#endif
252#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
254#endif
255#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
257#endif
259#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
260 ServerboundChatPreviewPacket,
261#endif
262#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
264#endif
265#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
267#endif
269#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
271#endif
273#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
275#endif
276#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
278#endif
279#if PROTOCOL_VERSION < 755 /* < 1.17 */
280 ServerboundContainerAckPacket,
281#endif
282#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
284#endif
285#if PROTOCOL_VERSION < 477 /* < 1.14 */
286 ServerboundEnchantItemPacket,
287#endif
290#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
292#endif
293#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
295#endif
297#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
299#endif
300#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
303#endif
305#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
307#endif
309#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
311#endif
312#if PROTOCOL_VERSION < 477 /* < 1.14 */
313 ServerboundMovePlayerPacket,
314#endif
318#if PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */
319 ServerboundMovePlayerPacket,
320#endif
321#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
323#endif
326#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
329#endif
330#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
331 ServerboundPickItemPacket,
332#endif
333#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
335#endif
341#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
343#endif
344#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
346#endif
347#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
349#endif
350#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
351 ServerboundRecipeBookUpdatePacket,
352#endif
353#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
356#endif
357#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
359#endif
362#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
365#endif
367#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
370#endif
372#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
374#endif
375#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
377#endif
378#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
380#endif
384#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
386#endif
389 >;
390
391 using AllServerboundStatusPackets = std::tuple<
394 >;
395
397#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
399#endif
404 >;
405} //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< ServerboundClientInformationConfigurationPacket, ServerboundCookieResponseConfigurationPacket, ServerboundCustomPayloadConfigurationPacket, ServerboundFinishConfigurationPacket, ServerboundKeepAliveConfigurationPacket, ServerboundPongConfigurationPacket, ServerboundResourcePackConfigurationPacket, ServerboundSelectKnownPacksPacket > AllServerboundConfigurationPackets
std::tuple< ServerboundClientIntentionPacket > AllServerboundHandshakingPackets
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, ServerboundSetTestBlockPacket, ServerboundSignUpdatePacket, ServerboundSwingPacket, ServerboundTeleportToEntityPacket, ServerboundTestInstanceBlockActionPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket > AllServerboundPlayPackets