Botcraft 1.21.4
Loading...
Searching...
No Matches
ProtocolCraft::KnownPack Class Reference

#include <KnownPack.hpp>

Inheritance diagram for ProtocolCraft::KnownPack:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (Namespace, std::string)
 
 SERIALIZED_FIELD (Id, std::string)
 
 SERIALIZED_FIELD (Version, std::string)
 

Private Attributes

 DECLARE_READ_WRITE_SERIALIZE
 

Additional Inherited Members

- 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
 
- 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
 

Detailed Description

Definition at line 10 of file KnownPack.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/3]

ProtocolCraft::KnownPack::SERIALIZED_FIELD ( Id  ,
std::string   
)
private

◆ SERIALIZED_FIELD() [2/3]

ProtocolCraft::KnownPack::SERIALIZED_FIELD ( Namespace  ,
std::string   
)
private

◆ SERIALIZED_FIELD() [3/3]

ProtocolCraft::KnownPack::SERIALIZED_FIELD ( Version  ,
std::string   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::KnownPack::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 16 of file KnownPack.hpp.


The documentation for this class was generated from the following file: