Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
SeenInfo Struct Reference
Inheritance diagram for SeenInfo:
Inheritance graph
[legend]
Collaboration diagram for SeenInfo:
Collaboration graph
[legend]

Public Member Functions

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

Data Fields

Anope::string nick
 
Anope::string vhost
 
TypeInfo type
 
Anope::string nick2
 
Anope::string channel
 
Anope::string message
 
time_t last
 
- 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 cs_seen.cpp.

Constructor & Destructor Documentation

◆ SeenInfo()

SeenInfo::SeenInfo ( )
inline

Definition at line 36 of file cs_seen.cpp.

Referenced by Unserialize(), and CSSeen::UpdateUser().

◆ ~SeenInfo()

SeenInfo::~SeenInfo ( )
inline

Definition at line 40 of file cs_seen.cpp.

Member Function Documentation

◆ Serialize()

void SeenInfo::Serialize ( Serialize::Data data) const
inlinevirtual

Implements Serializable.

Definition at line 47 of file cs_seen.cpp.

References channel, Serialize::Data::DT_INT, last, message, nick, nick2, type, and vhost.

◆ Unserialize()

static Serializable* SeenInfo::Unserialize ( Serializable obj,
Serialize::Data data 
)
inlinestatic

Definition at line 58 of file cs_seen.cpp.

References anope_dynamic_static_cast(), channel, last, message, nick, nick2, SeenInfo(), type, and vhost.

Field Documentation

◆ channel

Anope::string SeenInfo::channel

◆ last

time_t SeenInfo::last

◆ message

Anope::string SeenInfo::message

Definition at line 33 of file cs_seen.cpp.

Referenced by CommandSeen::Execute(), Serialize(), Unserialize(), and CSSeen::UpdateUser().

◆ nick

Anope::string SeenInfo::nick

Definition at line 28 of file cs_seen.cpp.

Referenced by Serialize(), Unserialize(), and CSSeen::UpdateUser().

◆ nick2

Anope::string SeenInfo::nick2

Definition at line 31 of file cs_seen.cpp.

Referenced by CommandSeen::Execute(), Serialize(), Unserialize(), and CSSeen::UpdateUser().

◆ type

TypeInfo SeenInfo::type

Definition at line 30 of file cs_seen.cpp.

Referenced by CommandSeen::Execute(), Serialize(), Unserialize(), and CSSeen::UpdateUser().

◆ vhost

Anope::string SeenInfo::vhost

Definition at line 29 of file cs_seen.cpp.

Referenced by CommandSeen::Execute(), Serialize(), Unserialize(), and CSSeen::UpdateUser().


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