Botcraft 1.21.11
Loading...
Searching...
No Matches
ProtocolCraft::Components::DataComponentTypePiercingWeapon Class Reference

#include <DataComponentTypePiercingWeapon.hpp>

Inheritance diagram for ProtocolCraft::Components::DataComponentTypePiercingWeapon:
ProtocolCraft::Components::DataComponentType ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD (DealsKnockback, bool)
 
 SERIALIZED_FIELD (Dismounts, bool)
 
 SERIALIZED_FIELD (Sound, std::optional< Holder< SoundEvent > >)
 
 SERIALIZED_FIELD (HitSound, std::optional< Holder< SoundEvent > >)
 

Private Attributes

 DECLARE_READ_WRITE_SERIALIZE
 

Additional Inherited Members

- Public Member Functions inherited from ProtocolCraft::Components::DataComponentType
virtual ~DataComponentType ()
 
- 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 13 of file DataComponentTypePiercingWeapon.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/4]

ProtocolCraft::Components::DataComponentTypePiercingWeapon::SERIALIZED_FIELD ( DealsKnockback  ,
bool   
)
private

◆ SERIALIZED_FIELD() [2/4]

ProtocolCraft::Components::DataComponentTypePiercingWeapon::SERIALIZED_FIELD ( Dismounts  ,
bool   
)
private

◆ SERIALIZED_FIELD() [3/4]

ProtocolCraft::Components::DataComponentTypePiercingWeapon::SERIALIZED_FIELD ( HitSound  ,
std::optional< Holder< SoundEvent > >   
)
private

◆ SERIALIZED_FIELD() [4/4]

ProtocolCraft::Components::DataComponentTypePiercingWeapon::SERIALIZED_FIELD ( Sound  ,
std::optional< Holder< SoundEvent > >   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::Components::DataComponentTypePiercingWeapon::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 20 of file DataComponentTypePiercingWeapon.hpp.


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