4#if PROTOCOL_VERSION > 764
10#if PROTOCOL_VERSION < 765
11 enum class SetScoreMethod
23#if PROTOCOL_VERSION < 765
#define DEFINE_CONDITION(Name,...)
Define a condition that can be used later inside an Internal::Conditioned type.
#define SERIALIZED_FIELD(Name,...)
static constexpr std::string_view packet_name
SERIALIZED_FIELD(NumberFormat, std::optional< ProtocolCraft::NumberFormat >)
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD(Display, std::optional< Chat >)
SERIALIZED_FIELD(Score, VarInt)
SERIALIZED_FIELD(ObjectiveName, std::string)
SERIALIZED_FIELD(Owner, std::string)
A type wrapper to conditionally serialize a type.
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...