![]() |
Botcraft 1.21.4
|
#include <DataComponents.hpp>
Public Member Functions | |
virtual | ~DataComponentPredicate () override |
const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & | GetMap () const |
DataComponentPredicate & | SetMap (const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > &map_) |
![]() | |
virtual | ~NetworkType () |
virtual void | Read (ReadIterator &iter, size_t &length) |
virtual void | Write (WriteContainer &container) const |
virtual Json::Value | Serialize () const |
Protected Member Functions | |
virtual void | ReadImpl (ReadIterator &iter, size_t &length) override |
virtual void | WriteImpl (WriteContainer &container) const override |
virtual Json::Value | SerializeImpl () const override |
Private Attributes | |
std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > | map |
Definition at line 102 of file DataComponents.hpp.
|
overridevirtual |
Definition at line 355 of file DataComponents.cpp.
const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & ProtocolCraft::Components::DataComponentPredicate::GetMap | ( | ) | const |
Definition at line 360 of file DataComponents.cpp.
References map.
|
overrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 371 of file DataComponents.cpp.
References ProtocolCraft::Components::CreateComponentType(), and map.
|
overrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 402 of file DataComponents.cpp.
References ProtocolCraft::Components::DataComponentTypesToString(), map, and ProtocolCraft::Json::Value::push_back().
DataComponentPredicate & ProtocolCraft::Components::DataComponentPredicate::SetMap | ( | const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & | map_ | ) |
Definition at line 365 of file DataComponents.cpp.
References map.
|
overrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 388 of file DataComponents.cpp.
References map.
|
private |
Definition at line 116 of file DataComponents.hpp.
Referenced by GetMap(), ReadImpl(), SerializeImpl(), SetMap(), and WriteImpl().