1#if PROTOCOL_VERSION > 765
24#if PROTOCOL_VERSION > 767
34#if PROTOCOL_VERSION < 770
35 HideAdditionalTooltip,
45#if PROTOCOL_VERSION < 768
48#if PROTOCOL_VERSION > 767
55#if PROTOCOL_VERSION > 769
58#if PROTOCOL_VERSION > 767
66#if PROTOCOL_VERSION > 769
78#if PROTOCOL_VERSION > 769
90#if PROTOCOL_VERSION > 769
94#if PROTOCOL_VERSION > 766
97#if PROTOCOL_VERSION > 769
114#if PROTOCOL_VERSION > 769
146 class DataComponentType;
153 const std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>&
GetMap()
const;
162 std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>
map;
171 const std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>&
GetMap()
const;
180 std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>
map;
184#if PROTOCOL_VERSION > 769
virtual Json::Value SerializeImpl() const override
std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > map
const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & GetMap() const
virtual void ReadImpl(ReadIterator &iter, size_t &length) override
virtual ~DataComponentPatch() override
DataComponentPatch & SetMap(const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > &map_)
virtual void WriteImpl(WriteContainer &container) const override
virtual ~DataComponentPredicate() override
virtual void WriteImpl(WriteContainer &container) const override
std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > map
virtual Json::Value SerializeImpl() const override
virtual void ReadImpl(ReadIterator &iter, size_t &length) override
const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & GetMap() const
DataComponentPredicate & SetMap(const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > &map_)
SERIALIZED_FIELD(AddedComponents, Internal::DiffType< std::map< DataComponentTypes, int >, std::map< VarInt, int > >)
DECLARE_READ_WRITE_SERIALIZE
HashedDataComponentPatch()=default
SERIALIZED_FIELD(RemovedComponents, Internal::DiffType< std::vector< DataComponentTypes >, std::vector< VarInt > >)
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
std::string_view DataComponentTypesToString(const DataComponentTypes type)
@ EnchantmentGlintOverride
@ NUM_DATA_COMPONENT_TYPES
@ TropicalFish_PatternColor
std::vector< unsigned char > WriteContainer
std::vector< unsigned char >::const_iterator ReadIterator
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...