Botcraft 1.21.8
Loading...
Searching...
No Matches
ProtocolCraft::TrackedWaypoint Class Reference

#include <TrackedWaypoint.hpp>

Inheritance diagram for ProtocolCraft::TrackedWaypoint:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (Identifier, Either< UUID, std::string >)
 
 SERIALIZED_FIELD (Icon, WaypointIcon)
 
 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Type, Internal::DiffType< TrackedWaypointType, VarInt >)
 
 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Data, std::shared_ptr< TrackedWaypointData >)
 
 GETTER (Type)
 
 GETTER (Data)
 
TrackedWaypointSetType (const TrackedWaypointType type)
 

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 25 of file TrackedWaypoint.hpp.

Member Function Documentation

◆ GETTER() [1/2]

ProtocolCraft::TrackedWaypoint::GETTER ( Data  )
private

◆ GETTER() [2/2]

ProtocolCraft::TrackedWaypoint::GETTER ( Type  )
private

◆ SERIALIZED_FIELD() [1/2]

ProtocolCraft::TrackedWaypoint::SERIALIZED_FIELD ( Icon  ,
WaypointIcon   
)
private

◆ SERIALIZED_FIELD() [2/2]

ProtocolCraft::TrackedWaypoint::SERIALIZED_FIELD ( Identifier  ,
Either< UUID, std::string >   
)
private

◆ SERIALIZED_FIELD_WITHOUT_GETTER_SETTER() [1/2]

ProtocolCraft::TrackedWaypoint::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER ( Data  ,
std::shared_ptr< TrackedWaypointData  
)
private

◆ SERIALIZED_FIELD_WITHOUT_GETTER_SETTER() [2/2]

ProtocolCraft::TrackedWaypoint::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER ( Type  ,
Internal::DiffType< TrackedWaypointType, VarInt  
)
private

◆ SetType()

TrackedWaypoint & ProtocolCraft::TrackedWaypoint::SetType ( const TrackedWaypointType  type)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::TrackedWaypoint::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 37 of file TrackedWaypoint.hpp.


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