1#if PROTOCOL_VERSION > 765
34 return IsExactMatcher_;
38 auto&
SetRangedMatcher(
const std::optional<ProtocolCraft::Components::RangedMatcher>& RangedMatcher_)
49 auto&
SetExactMatcher(
const std::optional<ProtocolCraft::Components::ExactMatcher>& ExactMatcher_)
auto & SetExactMatcher(const std::optional< ProtocolCraft::Components::ExactMatcher > &ExactMatcher_)
DEFINE_CONDITION(IsRangedMatcher, !GetIsExactMatcher())
bool GetIsExactMatcher() const
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(IsExactMatcher_, bool)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(RangedMatcher, Internal::Conditioned< ProtocolCraft::Components::RangedMatcher, &THIS::IsRangedMatcher >)
DEFINE_CONDITION(IsExactMatcher, GetIsExactMatcher())
auto & SetRangedMatcher(const std::optional< ProtocolCraft::Components::RangedMatcher > &RangedMatcher_)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(ExactMatcher, Internal::Conditioned< ProtocolCraft::Components::ExactMatcher, &THIS::IsExactMatcher >)
SERIALIZED_FIELD(Name, std::string)
A type wrapper to conditionally serialize a type.