![]() |
Botcraft 1.21.4
|
#include <NetworkType.hpp>
Public Member Functions | |
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)=0 |
virtual void | WriteImpl (WriteContainer &container) const =0 |
virtual Json::Value | SerializeImpl () const =0 |
Definition at line 10 of file NetworkType.hpp.
|
inlinevirtual |
Definition at line 13 of file NetworkType.hpp.
|
inlinevirtual |
Definition at line 18 of file NetworkType.hpp.
References ReadImpl().
Referenced by Botcraft::Entity::LoadMetadataFromRawArray(), and Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
protectedpure virtual |
Implemented in Botcraft::DNSMessage, Botcraft::DNSQuestion, Botcraft::DNSResourceRecord, Botcraft::DNSSrvData, ProtocolCraft::Chat, ProtocolCraft::CommandNode, ProtocolCraft::Components::DataComponentPredicate, ProtocolCraft::Components::DataComponentPatch, ProtocolCraft::Filterable< T >, ProtocolCraft::Holder< T >, ProtocolCraft::HolderSet, ProtocolCraft::NBT::UnnamedValue, ProtocolCraft::NBT::Value, ProtocolCraft::NBT::Tag, ProtocolCraft::NBT::TagList, ProtocolCraft::NBT::TagCompound, ProtocolCraft::NetworkPosition, and ProtocolCraft::VibrationParticleOptions.
Referenced by Read().
|
inlinevirtual |
Definition at line 28 of file NetworkType.hpp.
References SerializeImpl().
Referenced by Botcraft::ConnectionClient::Handle(), Botcraft::ConnectionClient::Handle(), Botcraft::ItemFrameEntity::Serialize(), Botcraft::DisplayItemDisplayEntity::Serialize(), Botcraft::DisplayTextDisplayEntity::Serialize(), Botcraft::ItemEntity::Serialize(), Botcraft::PlayerEntity::Serialize(), Botcraft::EyeOfEnderEntity::Serialize(), Botcraft::FireballEntity::Serialize(), Botcraft::FireworkRocketEntity::Serialize(), Botcraft::ThrowableItemProjectileEntity::Serialize(), Botcraft::MinecartCommandBlockEntity::Serialize(), and Botcraft::DNSMessage::SerializeImpl().
|
protectedpure virtual |
Implemented in Botcraft::DNSMessage, Botcraft::DNSQuestion, Botcraft::DNSResourceRecord, Botcraft::DNSSrvData, ProtocolCraft::CommandNode, ProtocolCraft::Components::DataComponentPredicate, ProtocolCraft::Components::DataComponentPatch, ProtocolCraft::Filterable< T >, ProtocolCraft::Holder< T >, ProtocolCraft::HolderSet, ProtocolCraft::NBT::Tag, ProtocolCraft::NBT::TagList, ProtocolCraft::NBT::TagCompound, and ProtocolCraft::VibrationParticleOptions.
Referenced by Serialize().
|
inlinevirtual |
Reimplemented in ProtocolCraft::Message.
Definition at line 23 of file NetworkType.hpp.
References WriteImpl().
Referenced by Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
protectedpure virtual |
Implemented in Botcraft::DNSMessage, Botcraft::DNSQuestion, Botcraft::DNSResourceRecord, Botcraft::DNSSrvData, ProtocolCraft::Chat, ProtocolCraft::CommandNode, ProtocolCraft::Components::DataComponentPredicate, ProtocolCraft::Components::DataComponentPatch, ProtocolCraft::Filterable< T >, ProtocolCraft::Holder< T >, ProtocolCraft::HolderSet, ProtocolCraft::NBT::UnnamedValue, ProtocolCraft::NBT::Tag, ProtocolCraft::NBT::TagList, ProtocolCraft::NBT::TagCompound, ProtocolCraft::NetworkPosition, and ProtocolCraft::VibrationParticleOptions.
Referenced by Write(), and ProtocolCraft::Message::Write().