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

#include <SoundEvent.hpp>

Inheritance diagram for ProtocolCraft::SoundEvent:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (Location, Identifier)
 
 SERIALIZED_FIELD (Range, std::optional< float >)
 

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 9 of file SoundEvent.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/2]

ProtocolCraft::SoundEvent::SERIALIZED_FIELD ( Location  ,
Identifier   
)
private

◆ SERIALIZED_FIELD() [2/2]

ProtocolCraft::SoundEvent::SERIALIZED_FIELD ( Range  ,
std::optional< float >   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::SoundEvent::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 14 of file SoundEvent.hpp.


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