Botcraft 26.3
Loading...
Searching...
No Matches
ClientboundUpdateSignPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION < 110 /* < 1.9.3 */
2#pragma once
3
7
8namespace ProtocolCraft
9{
10 class ClientboundUpdateSignPacket : public BasePacket<ClientboundUpdateSignPacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Update Sign";
14
15 SERIALIZED_FIELD(Pos, NetworkPosition);
16 SERIALIZED_FIELD(Line1, Chat);
17 SERIALIZED_FIELD(Line2, Chat);
18 SERIALIZED_FIELD(Line3, Chat);
19 SERIALIZED_FIELD(Line4, Chat);
20
22 };
23} //ProtocolCraft
24#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)