Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
UnrealExtBan Class Reference
Inheritance diagram for UnrealExtBan:
Inheritance graph
Collaboration diagram for UnrealExtBan:
Collaboration graph

Public Member Functions

 UnrealExtBan (const Anope::string &mname, const Anope::string &basename, char extban)
ChannelModeWrap (Anope::string &param) anope_override
ChannelModeUnwrap (ChannelMode *cm, Anope::string &param) anope_override
- Public Member Functions inherited from ChannelModeVirtual< ChannelModeList >
 ChannelModeVirtual (const Anope::string &mname, const Anope::string &basename)
 ~ChannelModeVirtual ()
ChannelModeWrap (Anope::string &param) anope_override
- Public Member Functions inherited from ChannelModeList
 ChannelModeList (const Anope::string &name, char mc)
virtual bool IsValid (Anope::string &mask) const
virtual bool Matches (User *u, const Entry *e)
virtual void OnAdd (Channel *chan, const Anope::string &mask)
virtual void OnDel (Channel *chan, const Anope::string &mask)
- Public Member Functions inherited from ChannelMode
 ChannelMode (const Anope::string &name, char mc)
bool CanSet (User *u) const anope_override
ChannelModeUnwrap (Anope::string &param)
- Public Member Functions inherited from Mode
 Mode (const Anope::string &mname, ModeClass mclass, char mc, ModeType type)
virtual ~Mode ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Private Attributes

char ext

Additional Inherited Members

- Data Fields inherited from ChannelMode
std::vector< ChannelMode * > listeners
- Data Fields inherited from Mode
Anope::string name
ModeClass mclass
char mchar
ModeType type

Detailed Description

Definition at line 418 of file unreal.cpp.

Constructor & Destructor Documentation

◆ UnrealExtBan()

UnrealExtBan::UnrealExtBan ( const Anope::string mname,
const Anope::string basename,
char  extban 

Definition at line 423 of file unreal.cpp.

Member Function Documentation

◆ Unwrap()

ChannelMode* UnrealExtBan::Unwrap ( ChannelMode ,
Anope::string param 

called when a mode is being unwrapped, and is asking us if we can unwrap it

Implements ChannelModeVirtual< ChannelModeList >.

Definition at line 434 of file unreal.cpp.

References MODE_LIST.

◆ Wrap()

ChannelMode* UnrealExtBan::Wrap ( Anope::string param)

'wrap' this channel mode and param to the underlying mode and param

Reimplemented from ChannelMode.

Definition at line 428 of file unreal.cpp.

References ChannelModeVirtual< T >::Wrap().

Field Documentation

◆ ext

char UnrealExtBan::ext

Definition at line 420 of file unreal.cpp.

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