1#if PROTOCOL_VERSION < 755
9 enum class SetTitlesType
19 class ClientboundSetTitlesPacket :
public BaseMessage<ClientboundSetTitlesPacket>
22 static constexpr std::string_view packet_name =
"Set Titles";
24 DEFINE_CONDITION(HasText, GetType() == SetTitlesType::Title || GetType() == SetTitlesType::Subtitle || GetType() == SetTitlesType::ActionBar);
#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,...)