Botcraft 26.3
Loading...
Searching...
No Matches
ClientboundPlayCompressionPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION < 107 /* < 1.9 */
2#pragma once
4
5namespace ProtocolCraft
6{
7 class ClientboundPlayCompressionPacket : public BasePacket<ClientboundPlayCompressionPacket>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Play Compression";
11
12 SERIALIZED_FIELD(Threshold, VarInt);
13
15 };
16} //ProtocolCraft
17#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)