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

#include <ClientboundLevelParticlesPacket.hpp>

Inheritance diagram for ProtocolCraft::ClientboundLevelParticlesPacket:
ProtocolCraft::BaseMessage< ClientboundLevelParticlesPacket > ProtocolCraft::Message ProtocolCraft::NetworkType

Public Member Functions

 SERIALIZED_FIELD (OverrideLimiter, bool)
 
 SERIALIZED_FIELD (AlwaysShow, bool)
 
 SERIALIZED_FIELD (X, double)
 
 SERIALIZED_FIELD (Y, double)
 
 SERIALIZED_FIELD (Z, double)
 
 SERIALIZED_FIELD (XDist, float)
 
 SERIALIZED_FIELD (YDist, float)
 
 SERIALIZED_FIELD (ZDist, float)
 
 SERIALIZED_FIELD (MaxSpeed, float)
 
 SERIALIZED_FIELD (Count, int)
 
 SERIALIZED_FIELD (Particle, ProtocolCraft::Particle)
 
- Public Member Functions inherited from ProtocolCraft::BaseMessage< ClientboundLevelParticlesPacket >
virtual ~BaseMessage () override
 
virtual int GetId () const override
 
virtual std::string_view GetName () const override
 
- Public Member Functions inherited from ProtocolCraft::Message
virtual ~Message ()
 
virtual void Write (WriteContainer &container) const override
 
void Dispatch (Handler *handler)
 
- Public Member Functions inherited from ProtocolCraft::NetworkType
virtual ~NetworkType ()
 
virtual void Read (ReadIterator &iter, size_t &length)
 
virtual Json::Value Serialize () const
 

Public Attributes

 DECLARE_READ_WRITE_SERIALIZE
 

Static Public Attributes

static constexpr std::string_view packet_name = "Level Particles"
 

Additional Inherited Members

- Protected Types inherited from ProtocolCraft::BaseMessage< ClientboundLevelParticlesPacket >
using THIS = ClientboundLevelParticlesPacket
 
- Protected Member Functions inherited from ProtocolCraft::BaseMessage< ClientboundLevelParticlesPacket >
virtual void DispatchImpl (Handler *handler) override
 
- 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 ClientboundLevelParticlesPacket.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( AlwaysShow  ,
bool   
)

◆ SERIALIZED_FIELD() [2/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( Count  ,
int   
)

◆ SERIALIZED_FIELD() [3/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( MaxSpeed  ,
float   
)

◆ SERIALIZED_FIELD() [4/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( OverrideLimiter  ,
bool   
)

◆ SERIALIZED_FIELD() [5/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( Particle  ,
ProtocolCraft::Particle   
)

◆ SERIALIZED_FIELD() [6/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( ,
double   
)

◆ SERIALIZED_FIELD() [7/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( XDist  ,
float   
)

◆ SERIALIZED_FIELD() [8/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( ,
double   
)

◆ SERIALIZED_FIELD() [9/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( YDist  ,
float   
)

◆ SERIALIZED_FIELD() [10/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( ,
double   
)

◆ SERIALIZED_FIELD() [11/11]

ProtocolCraft::ClientboundLevelParticlesPacket::SERIALIZED_FIELD ( ZDist  ,
float   
)

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::ClientboundLevelParticlesPacket::DECLARE_READ_WRITE_SERIALIZE

Definition at line 54 of file ClientboundLevelParticlesPacket.hpp.

◆ packet_name

constexpr std::string_view ProtocolCraft::ClientboundLevelParticlesPacket::packet_name = "Level Particles"
staticconstexpr

Definition at line 13 of file ClientboundLevelParticlesPacket.hpp.


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