Botcraft 1.21.10
Loading...
Searching...
No Matches
ProtocolCraft::Path Class Reference

#include <Path.hpp>

Inheritance diagram for ProtocolCraft::Path:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (Reached, bool)
 
 SERIALIZED_FIELD (NextNodeIndex, int)
 
 SERIALIZED_FIELD (Target, NetworkPosition)
 
 SERIALIZED_FIELD (Nodes, std::vector< Node >)
 
 SERIALIZED_FIELD (DebugData, PathDebugData)
 

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 12 of file Path.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/5]

ProtocolCraft::Path::SERIALIZED_FIELD ( DebugData  ,
PathDebugData   
)
private

◆ SERIALIZED_FIELD() [2/5]

ProtocolCraft::Path::SERIALIZED_FIELD ( NextNodeIndex  ,
int   
)
private

◆ SERIALIZED_FIELD() [3/5]

ProtocolCraft::Path::SERIALIZED_FIELD ( Nodes  ,
std::vector< Node  
)
private

◆ SERIALIZED_FIELD() [4/5]

ProtocolCraft::Path::SERIALIZED_FIELD ( Reached  ,
bool   
)
private

◆ SERIALIZED_FIELD() [5/5]

ProtocolCraft::Path::SERIALIZED_FIELD ( Target  ,
NetworkPosition   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::Path::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 20 of file Path.hpp.


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