Botcraft 1.21.4
Loading...
Searching...
No Matches
ServerboundSignUpdatePacket.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <array>
7
8namespace ProtocolCraft
9{
10 class ServerboundSignUpdatePacket : public BaseMessage<ServerboundSignUpdatePacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Sign Update";
14
16#if PROTOCOL_VERSION > 762 /* > 1.19.4 */
17 SERIALIZED_FIELD(IsFrontText, bool);
18#endif
19 SERIALIZED_FIELD(Lines, std::array<std::string, 4>);
20
22 };
23} //ProtocolCraft
SERIALIZED_FIELD(Lines, std::array< std::string, 4 >)