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::AutoKick ( )

Definition at line 25 of file regchannel.cpp.

◆ ~AutoKick()

AutoKick::~AutoKick ( )

Definition at line 29 of file regchannel.cpp.

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

Member Function Documentation

◆ Serialize()

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().

◆ Unserialize()

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

Field Documentation

◆ addtime

time_t AutoKick::addtime

◆ ci

Definition at line 30 of file regchannel.h.

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

◆ creator

Anope::string AutoKick::creator

◆ last_used

time_t AutoKick::last_used

◆ mask

Anope::string AutoKick::mask

◆ nc

◆ reason

Anope::string AutoKick::reason

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