4#if PROTOCOL_VERSION > 374
13 static constexpr std::string_view
packet_name =
"Set Player Team";
20#if PROTOCOL_VERSION < 393
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Players, Internal::Conditioned< std::vector< std::string >, &THIS::Method034 >)
SERIALIZED_FIELD(NametagVisibility, Internal::Conditioned< std::string, &THIS::Method02 >)
SERIALIZED_FIELD(DisplayName, Internal::Conditioned< Chat, &THIS::Method02 >)
SERIALIZED_FIELD(Color, Internal::Conditioned< VarInt, &THIS::Method02 >)
SERIALIZED_FIELD(Name_, std::string)
static constexpr std::string_view packet_name
DEFINE_CONDITION(Method02, GetMethod()==0||GetMethod()==2)
SERIALIZED_FIELD(PlayerPrefix, Internal::Conditioned< Chat, &THIS::Method02 >)
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD(Method, char)
DEFINE_CONDITION(Method034, GetMethod()==0||GetMethod()==3||GetMethod()==4)
SERIALIZED_FIELD(CollisionRule, Internal::Conditioned< std::string, &THIS::Method02 >)
SERIALIZED_FIELD(Options, Internal::Conditioned< char, &THIS::Method02 >)
SERIALIZED_FIELD(PlayerSuffix, Internal::Conditioned< Chat, &THIS::Method02 >)
A type wrapper to conditionally serialize a type.