|
Botcraft 1.21.10
|
#include <DataComponents.hpp>
Public Member Functions | |
| HashedDataComponentPatch ()=default | |
| HashedDataComponentPatch (const DataComponentPatch &patch) | |
| SERIALIZED_FIELD (AddedComponents, Internal::DiffType< std::map< DataComponentTypes, int >, std::map< VarInt, int > >) | |
| SERIALIZED_FIELD (RemovedComponents, Internal::DiffType< std::vector< DataComponentTypes >, std::vector< VarInt > >) | |
Public Member Functions inherited from ProtocolCraft::NetworkType | |
| virtual | ~NetworkType () |
| virtual void | Read (ReadIterator &iter, size_t &length) |
| virtual void | Write (WriteContainer &container) const |
| virtual Json::Value | Serialize () const |
Public Attributes | |
| DECLARE_READ_WRITE_SERIALIZE | |
Additional Inherited Members | |
Protected Member Functions inherited from ProtocolCraft::NetworkType | |
| virtual void | ReadImpl (ReadIterator &iter, size_t &length)=0 |
| virtual void | WriteImpl (WriteContainer &container) const =0 |
| virtual Json::Value | SerializeImpl () const =0 |
Definition at line 185 of file DataComponents.hpp.
|
default |
| ProtocolCraft::Components::HashedDataComponentPatch::HashedDataComponentPatch | ( | const DataComponentPatch & | patch | ) |
Definition at line 667 of file DataComponents.cpp.
References ProtocolCraft::Components::DataComponentPatch::GetMap(), and ProtocolCraft::Json::Value::push_back().
| ProtocolCraft::Components::HashedDataComponentPatch::SERIALIZED_FIELD | ( | AddedComponents | , |
| Internal::DiffType< std::map< DataComponentTypes, int >, std::map< VarInt, int > > | |||
| ) |
| ProtocolCraft::Components::HashedDataComponentPatch::SERIALIZED_FIELD | ( | RemovedComponents | , |
| Internal::DiffType< std::vector< DataComponentTypes >, std::vector< VarInt > > | |||
| ) |
| ProtocolCraft::Components::HashedDataComponentPatch::DECLARE_READ_WRITE_SERIALIZE |
Definition at line 194 of file DataComponents.hpp.