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

Public Member Functions

 NSMiscData (Extensible *)
 NSMiscData (NickCore *ncore, 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 34 of file ns_set_misc.cpp.

Constructor & Destructor Documentation

◆ NSMiscData() [1/2]

NSMiscData::NSMiscData ( Extensible )

Definition at line 36 of file ns_set_misc.cpp.

Referenced by CommandNSSetMisc::Run(), and Unserialize().

◆ NSMiscData() [2/2]

NSMiscData::NSMiscData ( NickCore ncore,
const Anope::string n,
const Anope::string d 

Definition at line 38 of file ns_set_misc.cpp.

References MiscData::data, NickCore::display, and MiscData::name.

Member Function Documentation

◆ Serialize()

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

Implements Serializable.

Definition at line 45 of file ns_set_misc.cpp.

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

◆ Unserialize()

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

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