Botcraft 26.3
Loading...
Searching...
No Matches
ProtocolCraft::DebugSubscriptionEvent Class Reference

#include <DebugSubscription.hpp>

Inheritance diagram for ProtocolCraft::DebugSubscriptionEvent:
ProtocolCraft::NetworkType

Private Member Functions

 SERIALIZED_DYNAMIC_FIELD (DebugSubscriptionEvent, Type, Data, DebugSubscriptionData, DebugSubscriptionEvent::CreateDebugSubscriptionData, Internal::DiffType< DebugSubscriptionDataType, VarInt >)
 

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

Member Function Documentation

◆ CreateDebugSubscriptionData()

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

Definition at line 135 of file DebugSubscription.cpp.

◆ SERIALIZED_DYNAMIC_FIELD()

ProtocolCraft::DebugSubscriptionEvent::SERIALIZED_DYNAMIC_FIELD ( DebugSubscriptionEvent  ,
Type  ,
Data  ,
DebugSubscriptionData  ,
DebugSubscriptionEvent::CreateDebugSubscriptionData  ,
Internal::DiffType< DebugSubscriptionDataType, VarInt >   
)
private

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::DebugSubscriptionEvent::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 61 of file DebugSubscription.hpp.


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