Botcraft 1.21.10
Loading...
Searching...
No Matches
ProtocolCraft::DebugSubscriptionUpdate Class Reference

#include <DebugSubscription.hpp>

Inheritance diagram for ProtocolCraft::DebugSubscriptionUpdate:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (DataType, DebugSubscriptionDataType)
 
 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Data, std::optional< std::shared_ptr< DebugSubscriptionData > >)
 
 GETTER (DataType)
 
 GETTER (Data)
 
DebugSubscriptionUpdateSetDataType (const DebugSubscriptionDataType data_type_)
 
DebugSubscriptionUpdateSetDataTypeNoData (const DebugSubscriptionDataType data_type_)
 

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 35 of file DebugSubscription.hpp.

Member Function Documentation

◆ GETTER() [1/2]

ProtocolCraft::DebugSubscriptionUpdate::GETTER ( Data  )
private

◆ GETTER() [2/2]

ProtocolCraft::DebugSubscriptionUpdate::GETTER ( DataType  )
private

◆ SERIALIZED_FIELD_WITHOUT_GETTER_SETTER() [1/2]

ProtocolCraft::DebugSubscriptionUpdate::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER ( Data  ,
std::optional< std::shared_ptr< DebugSubscriptionData > >   
)
private

◆ SERIALIZED_FIELD_WITHOUT_GETTER_SETTER() [2/2]

ProtocolCraft::DebugSubscriptionUpdate::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER ( DataType  ,
DebugSubscriptionDataType   
)
private

◆ SetDataType()

DebugSubscriptionUpdate & ProtocolCraft::DebugSubscriptionUpdate::SetDataType ( const DebugSubscriptionDataType  data_type_)
private

Definition at line 104 of file DebugSubscription.cpp.

◆ SetDataTypeNoData()

DebugSubscriptionUpdate & ProtocolCraft::DebugSubscriptionUpdate::SetDataTypeNoData ( const DebugSubscriptionDataType  data_type_)
private

Definition at line 112 of file DebugSubscription.cpp.

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::DebugSubscriptionUpdate::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 46 of file DebugSubscription.hpp.


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