Botcraft 1.21.8
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
26// Handshaking
28
29// Login
30#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
32#endif
33#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
35#endif
36#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
38#endif
41#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
43#endif
44
45// Play
47#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
49#endif
50#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
52#endif
53#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
55#endif
56#if PROTOCOL_VERSION > 759 /* > 1.19 */
58#endif
59#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
61#endif
62#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
64#endif
66#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
68#endif
69#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
71#endif
72#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
74#endif
78#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
80#endif
81#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
83#endif
84#if PROTOCOL_VERSION < 755 /* < 1.17 */
86#endif
87#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
89#endif
92#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
94#endif
95#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
97#endif
98#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
100#endif
102#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
104#endif
105#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
107#endif
108#if PROTOCOL_VERSION < 477 /* < 1.14 */
110#endif
111#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
113#endif
115#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
117#endif
119#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
121#endif
122#if PROTOCOL_VERSION < 755 /* < 1.17 */
124#endif
128#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
130#endif
133#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
136#endif
137#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
139#endif
140#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
142#endif
148#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
150#endif
151#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
153#endif
154#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
157#endif
158#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
160#endif
161#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
163#endif
166#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
168#endif
169#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
172#endif
174#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
177#endif
179#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
181#endif
182#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
184#endif
185#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
187#endif
191#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
193#endif
196
197// Status
200
201
202namespace ProtocolCraft
203{
204#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
207#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
209#endif
215#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
216 ,
218#endif
219#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
220 ,
222#endif
223 >;
224#endif
225
228 >;
229
230 using AllServerboundLoginPackets = std::tuple<
233#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 764 /* < 1.20.2 */
234 ,
235 ServerboundCustomQueryPacket
236#endif
237#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
238 ,
241#endif
242#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
243 ,
245#endif
246 >;
247
248 using AllServerboundPlayPackets = std::tuple<
250#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
252#endif
253#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
255#endif
256#if PROTOCOL_VERSION < 393 /* < 1.13 */
258#endif
259#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
261#endif
262#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
264#endif
265#if PROTOCOL_VERSION > 759 /* > 1.19 */
267#endif
268#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
270#endif
271#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
273#endif
275#if PROTOCOL_VERSION > 758 /* > 1.18.2 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
276 ServerboundChatPreviewPacket,
277#endif
278#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
280#endif
281#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
283#endif
285#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
287#endif
289#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
291#endif
292#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
294#endif
295#if PROTOCOL_VERSION < 755 /* < 1.17 */
296 ServerboundContainerAckPacket,
297#endif
298#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
300#endif
301#if PROTOCOL_VERSION < 477 /* < 1.14 */
302 ServerboundEnchantItemPacket,
303#endif
306#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
308#endif
309#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
311#endif
313#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
315#endif
316#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
319#endif
321#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
323#endif
325#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
327#endif
328#if PROTOCOL_VERSION < 477 /* < 1.14 */
329 ServerboundMovePlayerPacket,
330#endif
334#if PROTOCOL_VERSION > 404 /* > 1.13.2 */ && PROTOCOL_VERSION < 755 /* < 1.17 */
335 ServerboundMovePlayerPacket,
336#endif
337#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
339#endif
342#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
345#endif
346#if PROTOCOL_VERSION > 340 /* > 1.12.2 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
347 ServerboundPickItemPacket,
348#endif
349#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
351#endif
357#if PROTOCOL_VERSION > 768 /* > 1.21.3 */
359#endif
360#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
362#endif
363#if PROTOCOL_VERSION > 760 /* > 1.19.2 */ && PROTOCOL_VERSION < 762 /* < 1.19.4 */
365#endif
366#if PROTOCOL_VERSION < 751 /* < 1.16.2 */
367 ServerboundRecipeBookUpdatePacket,
368#endif
369#if PROTOCOL_VERSION > 736 /* > 1.16.1 */
372#endif
373#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
375#endif
378#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
381#endif
383#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
386#endif
388#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
390#endif
391#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
393#endif
394#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
396#endif
400#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
402#endif
405#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
406 ,
408#endif
409 >;
410
411 using AllServerboundStatusPackets = std::tuple<
414 >;
415
417#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
419#endif
424 >;
425} //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< ServerboundAcceptTeleportationPacket, ServerboundBlockEntityTagQueryPacket, ServerboundSelectBundleItemPacket, ServerboundChangeDifficultyPacket, ServerboundChangeGameModePacket, 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, ServerboundCustomClickActionPacket > AllServerboundPlayPackets
std::tuple< ServerboundHelloPacket, ServerboundKeyPacket, ServerboundCustomQueryAnswerPacket, ServerboundLoginAcknowledgedPacket, ServerboundCookieResponseLoginPacket > AllServerboundLoginPackets
std::tuple< ServerboundClientIntentionPacket > AllServerboundHandshakingPackets
std::tuple< ServerboundClientInformationConfigurationPacket, ServerboundCookieResponseConfigurationPacket, ServerboundCustomPayloadConfigurationPacket, ServerboundFinishConfigurationPacket, ServerboundKeepAliveConfigurationPacket, ServerboundPongConfigurationPacket, ServerboundResourcePackConfigurationPacket, ServerboundSelectKnownPacksPacket, ServerboundCustomClickActionConfigurationPacket > AllServerboundConfigurationPackets