Botcraft 26.3
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 (Type, Internal::DiffType< DebugSubscriptionDataType, VarInt >)
 
 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Data, std::optional< std::shared_ptr< DebugSubscriptionData > >)
 
 GETTER (Type)
 
 GETTER (Data)
 
 DYNAMIC_TYPE_SETTER (Type, Data, DebugSubscriptionUpdate::CreateDebugSubscriptionData)
 
DebugSubscriptionUpdate & SetDataTypeNoData (const DebugSubscriptionDataType type)
 

Static Private Member Functions

static std::shared_ptr< DebugSubscriptionData > CreateDebugSubscriptionData (const DebugSubscriptionDataType 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 36 of file DebugSubscription.hpp.

Member Function Documentation

◆ CreateDebugSubscriptionData()

std::shared_ptr< DebugSubscriptionData > ProtocolCraft::DebugSubscriptionUpdate::CreateDebugSubscriptionData ( const DebugSubscriptionDataType  type)
staticprivate

Definition at line 98 of file DebugSubscription.cpp.

◆ DYNAMIC_TYPE_SETTER()

ProtocolCraft::DebugSubscriptionUpdate::DYNAMIC_TYPE_SETTER ( Type  ,
Data  ,
DebugSubscriptionUpdate::CreateDebugSubscriptionData   
)
private

◆ GETTER() [1/2]

ProtocolCraft::DebugSubscriptionUpdate::GETTER ( Data  )
private

◆ GETTER() [2/2]

ProtocolCraft::DebugSubscriptionUpdate::GETTER ( Type  )
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 ( Type  ,
Internal::DiffType< DebugSubscriptionDataType, VarInt >   
)
private

◆ SetDataTypeNoData()

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

Definition at line 103 of file DebugSubscription.cpp.

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::DebugSubscriptionUpdate::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 51 of file DebugSubscription.hpp.


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