Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundPlayerChatHeaderPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 759 /* > 1.19 */ && PROTOCOL_VERSION < 761 /* < 1.19.3 */
2#pragma once
3
6
7namespace ProtocolCraft
8{
9 class ClientboundPlayerChatHeaderPacket : public BaseMessage<ClientboundPlayerChatHeaderPacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "Player Chat Header";
13
14 SERIALIZED_FIELD(Header, SignedMessageHeader);
15 SERIALIZED_FIELD(HeaderSignature, std::vector<unsigned char>);
16 SERIALIZED_FIELD(BodyDigest, std::vector<unsigned char>);
17
19 };
20}
21#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)