5#if PROTOCOL_VERSION > 389
8#if PROTOCOL_VERSION > 764
17 static constexpr std::string_view
packet_name =
"Set Objective";
23#if PROTOCOL_VERSION < 393
30#if PROTOCOL_VERSION > 764
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(NumberFormat, Internal::Conditioned< ProtocolCraft::NumberFormat, &THIS::Method02 >)
static constexpr std::string_view packet_name
SERIALIZED_FIELD(ObjectiveName, std::string)
SERIALIZED_FIELD(DisplayName, Internal::Conditioned< Chat, &THIS::Method02 >)
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD(Method, char)
DEFINE_CONDITION(Method02, GetMethod()==0||GetMethod()==2)
SERIALIZED_FIELD(RenderType, Internal::Conditioned< VarInt, &THIS::Method02 >)
A type wrapper to conditionally serialize a type.