Botcraft 1.21.5
Loading...
Searching...
No Matches
ProtocolCraft::Components::Instrument Class Reference

#include <Instrument.hpp>

Inheritance diagram for ProtocolCraft::Components::Instrument:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (SoundEvent, Holder< ProtocolCraft::SoundEvent >)
 
 SERIALIZED_FIELD (UseDuration, float)
 
 SERIALIZED_FIELD (Range, float)
 
 SERIALIZED_FIELD (Description, Chat)
 

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 Instrument.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/4]

ProtocolCraft::Components::Instrument::SERIALIZED_FIELD ( Description  ,
Chat   
)
private

◆ SERIALIZED_FIELD() [2/4]

ProtocolCraft::Components::Instrument::SERIALIZED_FIELD ( Range  ,
float   
)
private

◆ SERIALIZED_FIELD() [3/4]

ProtocolCraft::Components::Instrument::SERIALIZED_FIELD ( SoundEvent  ,
Holder< ProtocolCraft::SoundEvent  
)
private

◆ SERIALIZED_FIELD() [4/4]

ProtocolCraft::Components::Instrument::SERIALIZED_FIELD ( UseDuration  ,
float   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::Components::Instrument::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 19 of file Instrument.hpp.


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