1#if PROTOCOL_VERSION < 755
9 enum class SetTitlesType
13#if PROTOCOL_VERSION > 210
21 class ClientboundSetTitlesPacket :
public BasePacket<ClientboundSetTitlesPacket>
24 static constexpr std::string_view packet_name =
"Set Titles";
26#if PROTOCOL_VERSION > 210
27 DEFINE_CONDITION(HasText, GetType() == SetTitlesType::Title || GetType() == SetTitlesType::Subtitle || GetType() == SetTitlesType::ActionBar);
29 DEFINE_CONDITION(HasText, GetType() == SetTitlesType::Title || GetType() == SetTitlesType::Subtitle);
#define DEFINE_CONDITION(Name,...)
Define a condition that can be used later inside an Internal::Conditioned type.
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)