Botcraft 26.3
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 BasePacket<ServerboundSignUpdatePacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Sign Update";
14
16#if PROTOCOL_VERSION > 762 /* > 1.19.4 */ && PROTOCOL_VERSION < 777 /* < 26.3 */
17 SERIALIZED_FIELD(IsFrontText, bool);
18#endif
19 SERIALIZED_FIELD(Lines, std::array<std::string, 4>);
20#if PROTOCL_VERSION > 776 /* > 26.2 */
22#endif
23
25 };
26} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Lines, std::array< std::string, 4 >)