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

#include <CommonPlayerSpawnInfo.hpp>

Inheritance diagram for ProtocolCraft::CommonPlayerSpawnInfo:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (DimensionType, VarInt)
 
 SERIALIZED_FIELD (Dimension, Identifier)
 
 SERIALIZED_FIELD (Seed, long long int)
 
 SERIALIZED_FIELD (GameType, unsigned char)
 
 SERIALIZED_FIELD (PreviousGameType, unsigned char)
 
 SERIALIZED_FIELD (IsDebug, bool)
 
 SERIALIZED_FIELD (IsFlat, bool)
 
 SERIALIZED_FIELD (LastDeathLocation, std::optional< GlobalPos >)
 
 SERIALIZED_FIELD (PortalCooldown, VarInt)
 

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 11 of file CommonPlayerSpawnInfo.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( Dimension  ,
Identifier   
)
private

◆ SERIALIZED_FIELD() [2/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( DimensionType  ,
VarInt   
)
private

◆ SERIALIZED_FIELD() [3/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( GameType  ,
unsigned char   
)
private

◆ SERIALIZED_FIELD() [4/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( IsDebug  ,
bool   
)
private

◆ SERIALIZED_FIELD() [5/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( IsFlat  ,
bool   
)
private

◆ SERIALIZED_FIELD() [6/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( LastDeathLocation  ,
std::optional< GlobalPos  
)
private

◆ SERIALIZED_FIELD() [7/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( PortalCooldown  ,
VarInt   
)
private

◆ SERIALIZED_FIELD() [8/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( PreviousGameType  ,
unsigned char   
)
private

◆ SERIALIZED_FIELD() [9/9]

ProtocolCraft::CommonPlayerSpawnInfo::SERIALIZED_FIELD ( Seed  ,
long long int   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::CommonPlayerSpawnInfo::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 27 of file CommonPlayerSpawnInfo.hpp.


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