Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
AutoKick Class Reference

#include <regchannel.h>

Inheritance diagram for AutoKick:
Inheritance graph
Collaboration diagram for AutoKick:
Collaboration graph

Public Member Functions

 AutoKick ()
 ~AutoKick ()
void Serialize (Serialize::Data &data) const anope_override
- 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 &)
- Static Public Member Functions inherited from Serializable
static const std::list
< Serializable * > & 
GetItems ()

Data Fields

Serialize::Reference< ChannelInfoci
Anope::string mask
Serialize::Reference< NickCorenc
Anope::string reason
Anope::string creator
time_t addtime
time_t last_used
- Data Fields inherited from Serializable
uint64_t id
unsigned short redis_ignore

Additional Inherited Members

- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 Serializable (const Serializable &)
Serializableoperator= (const Serializable &)

Detailed Description

Definition at line 26 of file regchannel.h.

Constructor & Destructor Documentation

AutoKick::AutoKick ( )

Definition at line 25 of file regchannel.cpp.

AutoKick::~AutoKick ( )

Definition at line 29 of file regchannel.cpp.

References NickAlias::Find(), mask, and NickAlias::nc.

Member Function Documentation

void AutoKick::Serialize ( Serialize::Data data) const

Implements Serializable.

Definition at line 43 of file regchannel.cpp.

References addtime, creator, Serialize::Data::DT_INT, last_used, mask, nc, reason, and Serialize::Data::SetType().

Serializable * AutoKick::Unserialize ( Serializable obj,
Serialize::Data data 

Field Documentation

time_t AutoKick::addtime

Definition at line 30 of file regchannel.h.

Referenced by ChannelInfo::AddAkick(), and CSAKick::OnCheckKick().

Anope::string AutoKick::creator
time_t AutoKick::last_used
Anope::string AutoKick::mask
Anope::string AutoKick::reason

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