Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundDeleteChatPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 759 /* > 1.19 */
2#pragma once
3
5#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
7#endif
8
9namespace ProtocolCraft
10{
11 class ClientboundDeleteChatPacket : public BaseMessage<ClientboundDeleteChatPacket>
12 {
13 public:
14 static constexpr std::string_view packet_name = "Delete Chat";
15
16#if PROTOCOL_VERSION < 761 /* < 1.19.3 */
17 SERIALIZED_FIELD(MessageSignature, std::vector<unsigned char>);
18#else
19 SERIALIZED_FIELD(MessageSignature, Holder<std::array<unsigned char, 256>>);
20#endif
21
23 };
24} //ProtocolCraft
25#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(MessageSignature, Holder< std::array< unsigned char, 256 > >)