Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions
CSMiscData Struct Reference
Inheritance diagram for CSMiscData:
Inheritance graph
Collaboration diagram for CSMiscData:
Collaboration graph

Public Member Functions

 CSMiscData (Extensible *obj)
 CSMiscData (ChannelInfo *c, const Anope::string &n, const Anope::string &d)
void Serialize (Serialize::Data &sdata) const anope_override
- Public Member Functions inherited from MiscData
 MiscData ()
virtual ~MiscData ()
- Public Member Functions inherited from Serializable
virtual ~Serializable ()
void QueueUpdate ()
bool IsCached (Serialize::Data &)
void UpdateCache (Serialize::Data &)
bool IsTSCached ()
void UpdateTS ()
Serialize::TypeGetSerializableType () const
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Static Public Member Functions

static SerializableUnserialize (Serializable *obj, Serialize::Data &data)
- Static Public Member Functions inherited from Serializable
static const std::list< Serializable * > & GetItems ()

Additional Inherited Members

- Data Fields inherited from MiscData
Anope::string object
Anope::string name
Anope::string data
- Data Fields inherited from Serializable
uint64_t id
unsigned short redis_ignore
- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 Serializable (const Serializable &)
Serializableoperator= (const Serializable &)

Detailed Description

Definition at line 33 of file cs_set_misc.cpp.

Constructor & Destructor Documentation

◆ CSMiscData() [1/2]

CSMiscData::CSMiscData ( Extensible obj)

Definition at line 35 of file cs_set_misc.cpp.

Referenced by CommandCSSetMisc::Execute(), and Unserialize().

◆ CSMiscData() [2/2]

CSMiscData::CSMiscData ( ChannelInfo c,
const Anope::string n,
const Anope::string d 

Definition at line 37 of file cs_set_misc.cpp.

References MiscData::data, MiscData::name, and ChannelInfo::name.

Member Function Documentation

◆ Serialize()

void CSMiscData::Serialize ( Serialize::Data sdata) const

Implements Serializable.

Definition at line 44 of file cs_set_misc.cpp.

References MiscData::data, MiscData::name, and MiscData::object.

◆ Unserialize()

static Serializable* CSMiscData::Unserialize ( Serializable obj,
Serialize::Data data 

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