Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundSystemChatPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
2#pragma once
3
6
7namespace ProtocolCraft
8{
9 class ClientboundSystemChatPacket : public BaseMessage<ClientboundSystemChatPacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "System Chat";
13
15#if PROTOCOL_VERSION < 760 /* < 1.19.1 */
16 SERIALIZED_FIELD(TypeId, VarInt);
17#else
18 SERIALIZED_FIELD(Overlay, bool);
19#endif
20
22 };
23} //ProtocolCraft
24#endif
#define SERIALIZED_FIELD(Name,...)