ZNC  trunk
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
CModules Class Reference

#include <Modules.h>

+ Inheritance diagram for CModules:
+ Collaboration diagram for CModules:

Public Types

typedef std::queue< std::pair< CString, CString > > ModDirList
 

Public Member Functions

 CModules ()
 
 ~CModules ()
 
 CModules (const CModules &)=default
 
CModulesoperator= (const CModules &)=default
 
void SetUser (CUser *pUser)
 
void SetNetwork (CIRCNetwork *pNetwork)
 
void SetClient (CClient *pClient)
 
CUserGetUser () const
 
CIRCNetworkGetNetwork () const
 
CClientGetClient () const
 
void UnloadAll ()
 
bool OnBoot ()
 
bool OnPreRehash ()
 
bool OnPostRehash ()
 
bool OnIRCDisconnected ()
 
bool OnIRCConnected ()
 
bool OnIRCConnecting (CIRCSock *pIRCSock)
 
bool OnIRCConnectionError (CIRCSock *pIRCSock)
 
bool OnIRCRegistration (CString &sPass, CString &sNick, CString &sIdent, CString &sRealName)
 
bool OnBroadcast (CString &sMessage)
 
bool OnChanPermission3 (const CNick *pOpNick, const CNick &Nick, CChan &Channel, char cMode, bool bAdded, bool bNoChange)
 
bool OnChanPermission2 (const CNick *pOpNick, const CNick &Nick, CChan &Channel, unsigned char uMode, bool bAdded, bool bNoChange)
 
bool OnChanPermission (const CNick &OpNick, const CNick &Nick, CChan &Channel, unsigned char uMode, bool bAdded, bool bNoChange)
 
bool OnOp2 (const CNick *pOpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnOp (const CNick &OpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnDeop2 (const CNick *pOpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnDeop (const CNick &OpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnVoice2 (const CNick *pOpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnVoice (const CNick &OpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnDevoice2 (const CNick *pOpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnDevoice (const CNick &OpNick, const CNick &Nick, CChan &Channel, bool bNoChange)
 
bool OnRawMode2 (const CNick *pOpNick, CChan &Channel, const CString &sModes, const CString &sArgs)
 
bool OnRawMode (const CNick &OpNick, CChan &Channel, const CString &sModes, const CString &sArgs)
 
bool OnMode2 (const CNick *pOpNick, CChan &Channel, char uMode, const CString &sArg, bool bAdded, bool bNoChange)
 
bool OnMode (const CNick &OpNick, CChan &Channel, char uMode, const CString &sArg, bool bAdded, bool bNoChange)
 
bool OnRaw (CString &sLine)
 
bool OnRawMessage (CMessage &Message)
 
bool OnNumericMessage (CNumericMessage &Message)
 
bool OnStatusCommand (CString &sCommand)
 
bool OnModCommand (const CString &sCommand)
 
bool OnModNotice (const CString &sMessage)
 
bool OnModCTCP (const CString &sMessage)
 
bool OnQuit (const CNick &Nick, const CString &sMessage, const std::vector< CChan * > &vChans)
 
bool OnQuitMessage (CQuitMessage &Message, const std::vector< CChan * > &vChans)
 
bool OnNick (const CNick &Nick, const CString &sNewNick, const std::vector< CChan * > &vChans)
 
bool OnNickMessage (CNickMessage &Message, const std::vector< CChan * > &vChans)
 
bool OnKick (const CNick &Nick, const CString &sOpNick, CChan &Channel, const CString &sMessage)
 
bool OnKickMessage (CKickMessage &Message)
 
bool OnJoining (CChan &Channel)
 
bool OnJoin (const CNick &Nick, CChan &Channel)
 
bool OnJoinMessage (CJoinMessage &Message)
 
bool OnPart (const CNick &Nick, CChan &Channel, const CString &sMessage)
 
bool OnPartMessage (CPartMessage &Message)
 
bool OnInvite (const CNick &Nick, const CString &sChan)
 
bool OnChanBufferStarting (CChan &Chan, CClient &Client)
 
bool OnChanBufferEnding (CChan &Chan, CClient &Client)
 
bool OnChanBufferPlayLine2 (CChan &Chan, CClient &Client, CString &sLine, const timeval &tv)
 
bool OnChanBufferPlayLine (CChan &Chan, CClient &Client, CString &sLine)
 
bool OnPrivBufferStarting (CQuery &Query, CClient &Client)
 
bool OnPrivBufferEnding (CQuery &Query, CClient &Client)
 
bool OnPrivBufferPlayLine2 (CClient &Client, CString &sLine, const timeval &tv)
 
bool OnPrivBufferPlayLine (CClient &Client, CString &sLine)
 
bool OnChanBufferPlayMessage (CMessage &Message)
 
bool OnPrivBufferPlayMessage (CMessage &Message)
 
bool OnClientLogin ()
 
bool OnClientDisconnect ()
 
bool OnUserRaw (CString &sLine)
 
bool OnUserRawMessage (CMessage &Message)
 
bool OnUserCTCPReply (CString &sTarget, CString &sMessage)
 
bool OnUserCTCPReplyMessage (CCTCPMessage &Message)
 
bool OnUserCTCP (CString &sTarget, CString &sMessage)
 
bool OnUserCTCPMessage (CCTCPMessage &Message)
 
bool OnUserAction (CString &sTarget, CString &sMessage)
 
bool OnUserActionMessage (CActionMessage &Message)
 
bool OnUserMsg (CString &sTarget, CString &sMessage)
 
bool OnUserTextMessage (CTextMessage &Message)
 
bool OnUserNotice (CString &sTarget, CString &sMessage)
 
bool OnUserNoticeMessage (CNoticeMessage &Message)
 
bool OnUserJoin (CString &sChannel, CString &sKey)
 
bool OnUserJoinMessage (CJoinMessage &Message)
 
bool OnUserPart (CString &sChannel, CString &sMessage)
 
bool OnUserPartMessage (CPartMessage &Message)
 
bool OnUserTopic (CString &sChannel, CString &sTopic)
 
bool OnUserTopicMessage (CTopicMessage &Message)
 
bool OnUserTopicRequest (CString &sChannel)
 
bool OnUserQuit (CString &sMessage)
 
bool OnUserQuitMessage (CQuitMessage &Message)
 
bool OnCTCPReply (CNick &Nick, CString &sMessage)
 
bool OnCTCPReplyMessage (CCTCPMessage &Message)
 
bool OnPrivCTCP (CNick &Nick, CString &sMessage)
 
bool OnPrivCTCPMessage (CCTCPMessage &Message)
 
bool OnChanCTCP (CNick &Nick, CChan &Channel, CString &sMessage)
 
bool OnChanCTCPMessage (CCTCPMessage &Message)
 
bool OnPrivAction (CNick &Nick, CString &sMessage)
 
bool OnPrivActionMessage (CActionMessage &Message)
 
bool OnChanAction (CNick &Nick, CChan &Channel, CString &sMessage)
 
bool OnChanActionMessage (CActionMessage &Message)
 
bool OnPrivMsg (CNick &Nick, CString &sMessage)
 
bool OnPrivTextMessage (CTextMessage &Message)
 
bool OnChanMsg (CNick &Nick, CChan &Channel, CString &sMessage)
 
bool OnChanTextMessage (CTextMessage &Message)
 
bool OnPrivNotice (CNick &Nick, CString &sMessage)
 
bool OnPrivNoticeMessage (CNoticeMessage &Message)
 
bool OnChanNotice (CNick &Nick, CChan &Channel, CString &sMessage)
 
bool OnChanNoticeMessage (CNoticeMessage &Message)
 
bool OnTopic (CNick &Nick, CChan &Channel, CString &sTopic)
 
bool OnTopicMessage (CTopicMessage &Message)
 
bool OnTimerAutoJoin (CChan &Channel)
 
bool OnAddNetwork (CIRCNetwork &Network, CString &sErrorRet)
 
bool OnDeleteNetwork (CIRCNetwork &Network)
 
bool OnSendToClient (CString &sLine, CClient &Client)
 
bool OnSendToClientMessage (CMessage &Message)
 
bool OnSendToIRC (CString &sLine)
 
bool OnSendToIRCMessage (CMessage &Message)
 
bool OnServerCapAvailable (const CString &sCap)
 
bool OnServerCapResult (const CString &sCap, bool bSuccess)
 
CModuleFindModule (const CString &sModule) const
 
bool LoadModule (const CString &sModule, const CString &sArgs, CModInfo::EModuleType eType, CUser *pUser, CIRCNetwork *pNetwork, CString &sRetMsg)
 
bool UnloadModule (const CString &sModule)
 
bool UnloadModule (const CString &sModule, CString &sRetMsg)
 
bool ReloadModule (const CString &sModule, const CString &sArgs, CUser *pUser, CIRCNetwork *pNetwork, CString &sRetMsg)
 
bool OnAddUser (CUser &User, CString &sErrorRet)
 
bool OnDeleteUser (CUser &User)
 
bool OnClientConnect (CZNCSock *pSock, const CString &sHost, unsigned short uPort)
 
bool OnLoginAttempt (std::shared_ptr< CAuthBase > Auth)
 
bool OnFailedLogin (const CString &sUsername, const CString &sRemoteIP)
 
bool OnUnknownUserRaw (CClient *pClient, CString &sLine)
 
bool OnUnknownUserRawMessage (CMessage &Message)
 
bool OnClientCapLs (CClient *pClient, SCString &ssCaps)
 
bool IsClientCapSupported (CClient *pClient, const CString &sCap, bool bState)
 
bool OnClientCapRequest (CClient *pClient, const CString &sCap, bool bState)
 
bool OnModuleLoading (const CString &sModName, const CString &sArgs, CModInfo::EModuleType eType, bool &bSuccess, CString &sRetMsg)
 
bool OnModuleUnloading (CModule *pModule, bool &bSuccess, CString &sRetMsg)
 
bool OnGetModInfo (CModInfo &ModInfo, const CString &sModule, bool &bSuccess, CString &sRetMsg)
 
bool OnGetAvailableMods (std::set< CModInfo > &ssMods, CModInfo::EModuleType eType)
 

Static Public Member Functions

static bool GetModInfo (CModInfo &ModInfo, const CString &sModule, CString &sRetMsg)
 
static bool GetModPathInfo (CModInfo &ModInfo, const CString &sModule, const CString &sModPath, CString &sRetMsg)
 
static void GetAvailableMods (std::set< CModInfo > &ssMods, CModInfo::EModuleType eType=CModInfo::UserModule)
 
static void GetDefaultMods (std::set< CModInfo > &ssMods, CModInfo::EModuleType eType=CModInfo::UserModule)
 
static bool FindModPath (const CString &sModule, CString &sModPath, CString &sDataPath)
 
static ModDirList GetModDirs ()
 

Public Attributes

elements
 STL member. More...
 

Protected Attributes

CUserm_pUser
 
CIRCNetworkm_pNetwork
 
CClientm_pClient
 

Member Typedef Documentation

◆ ModDirList

typedef std::queue<std::pair<CString, CString> > CModules::ModDirList

Constructor & Destructor Documentation

◆ CModules() [1/2]

CModules::CModules ( )

◆ ~CModules()

CModules::~CModules ( )

◆ CModules() [2/2]

CModules::CModules ( const CModules )
default

Member Function Documentation

◆ FindModPath()

static bool CModules::FindModPath ( const CString sModule,
CString sModPath,
CString sDataPath 
)
static

◆ FindModule()

CModule* CModules::FindModule ( const CString sModule) const

◆ GetAvailableMods()

static void CModules::GetAvailableMods ( std::set< CModInfo > &  ssMods,
CModInfo::EModuleType  eType = CModInfo::UserModule 
)
static

◆ GetClient()

CClient* CModules::GetClient ( ) const
inline

References m_pNetwork.

◆ GetDefaultMods()

static void CModules::GetDefaultMods ( std::set< CModInfo > &  ssMods,
CModInfo::EModuleType  eType = CModInfo::UserModule 
)
static

◆ GetModDirs()

static ModDirList CModules::GetModDirs ( )
static

◆ GetModInfo()

static bool CModules::GetModInfo ( CModInfo ModInfo,
const CString sModule,
CString sRetMsg 
)
static

◆ GetModPathInfo()

static bool CModules::GetModPathInfo ( CModInfo ModInfo,
const CString sModule,
const CString sModPath,
CString sRetMsg 
)
static

◆ GetNetwork()

CIRCNetwork* CModules::GetNetwork ( ) const
inline

References m_pUser.

◆ GetUser()

CUser* CModules::GetUser ( ) const
inline

References m_pClient.

◆ IsClientCapSupported()

bool CModules::IsClientCapSupported ( CClient pClient,
const CString sCap,
bool  bState 
)

◆ LoadModule()

bool CModules::LoadModule ( const CString sModule,
const CString sArgs,
CModInfo::EModuleType  eType,
CUser pUser,
CIRCNetwork pNetwork,
CString sRetMsg 
)

◆ OnAddNetwork()

bool CModules::OnAddNetwork ( CIRCNetwork Network,
CString sErrorRet 
)

◆ OnAddUser()

bool CModules::OnAddUser ( CUser User,
CString sErrorRet 
)

◆ OnBoot()

bool CModules::OnBoot ( )

◆ OnBroadcast()

bool CModules::OnBroadcast ( CString sMessage)

◆ OnChanAction()

bool CModules::OnChanAction ( CNick Nick,
CChan Channel,
CString sMessage 
)

◆ OnChanActionMessage()

bool CModules::OnChanActionMessage ( CActionMessage Message)

◆ OnChanBufferEnding()

bool CModules::OnChanBufferEnding ( CChan Chan,
CClient Client 
)

◆ OnChanBufferPlayLine()

bool CModules::OnChanBufferPlayLine ( CChan Chan,
CClient Client,
CString sLine 
)

◆ OnChanBufferPlayLine2()

bool CModules::OnChanBufferPlayLine2 ( CChan Chan,
CClient Client,
CString sLine,
const timeval &  tv 
)

◆ OnChanBufferPlayMessage()

bool CModules::OnChanBufferPlayMessage ( CMessage Message)

◆ OnChanBufferStarting()

bool CModules::OnChanBufferStarting ( CChan Chan,
CClient Client 
)

◆ OnChanCTCP()

bool CModules::OnChanCTCP ( CNick Nick,
CChan Channel,
CString sMessage 
)

◆ OnChanCTCPMessage()

bool CModules::OnChanCTCPMessage ( CCTCPMessage Message)

◆ OnChanMsg()

bool CModules::OnChanMsg ( CNick Nick,
CChan Channel,
CString sMessage 
)

◆ OnChanNotice()

bool CModules::OnChanNotice ( CNick Nick,
CChan Channel,
CString sMessage 
)

◆ OnChanNoticeMessage()

bool CModules::OnChanNoticeMessage ( CNoticeMessage Message)

◆ OnChanPermission()

bool CModules::OnChanPermission ( const CNick OpNick,
const CNick Nick,
CChan Channel,
unsigned char  uMode,
bool  bAdded,
bool  bNoChange 
)

◆ OnChanPermission2()

bool CModules::OnChanPermission2 ( const CNick pOpNick,
const CNick Nick,
CChan Channel,
unsigned char  uMode,
bool  bAdded,
bool  bNoChange 
)

◆ OnChanPermission3()

bool CModules::OnChanPermission3 ( const CNick pOpNick,
const CNick Nick,
CChan Channel,
char  cMode,
bool  bAdded,
bool  bNoChange 
)

◆ OnChanTextMessage()

bool CModules::OnChanTextMessage ( CTextMessage Message)

◆ OnClientCapLs()

bool CModules::OnClientCapLs ( CClient pClient,
SCString ssCaps 
)

◆ OnClientCapRequest()

bool CModules::OnClientCapRequest ( CClient pClient,
const CString sCap,
bool  bState 
)

◆ OnClientConnect()

bool CModules::OnClientConnect ( CZNCSock pSock,
const CString sHost,
unsigned short  uPort 
)

◆ OnClientDisconnect()

bool CModules::OnClientDisconnect ( )

◆ OnClientLogin()

bool CModules::OnClientLogin ( )

◆ OnCTCPReply()

bool CModules::OnCTCPReply ( CNick Nick,
CString sMessage 
)

◆ OnCTCPReplyMessage()

bool CModules::OnCTCPReplyMessage ( CCTCPMessage Message)

◆ OnDeleteNetwork()

bool CModules::OnDeleteNetwork ( CIRCNetwork Network)

◆ OnDeleteUser()

bool CModules::OnDeleteUser ( CUser User)

◆ OnDeop()

bool CModules::OnDeop ( const CNick OpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnDeop2()

bool CModules::OnDeop2 ( const CNick pOpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnDevoice()

bool CModules::OnDevoice ( const CNick OpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnDevoice2()

bool CModules::OnDevoice2 ( const CNick pOpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnFailedLogin()

bool CModules::OnFailedLogin ( const CString sUsername,
const CString sRemoteIP 
)

◆ OnGetAvailableMods()

bool CModules::OnGetAvailableMods ( std::set< CModInfo > &  ssMods,
CModInfo::EModuleType  eType 
)

◆ OnGetModInfo()

bool CModules::OnGetModInfo ( CModInfo ModInfo,
const CString sModule,
bool &  bSuccess,
CString sRetMsg 
)

◆ OnInvite()

bool CModules::OnInvite ( const CNick Nick,
const CString sChan 
)

◆ OnIRCConnected()

bool CModules::OnIRCConnected ( )

◆ OnIRCConnecting()

bool CModules::OnIRCConnecting ( CIRCSock pIRCSock)

◆ OnIRCConnectionError()

bool CModules::OnIRCConnectionError ( CIRCSock pIRCSock)

◆ OnIRCDisconnected()

bool CModules::OnIRCDisconnected ( )

◆ OnIRCRegistration()

bool CModules::OnIRCRegistration ( CString sPass,
CString sNick,
CString sIdent,
CString sRealName 
)

◆ OnJoin()

bool CModules::OnJoin ( const CNick Nick,
CChan Channel 
)

◆ OnJoining()

bool CModules::OnJoining ( CChan Channel)

◆ OnJoinMessage()

bool CModules::OnJoinMessage ( CJoinMessage Message)

◆ OnKick()

bool CModules::OnKick ( const CNick Nick,
const CString sOpNick,
CChan Channel,
const CString sMessage 
)

◆ OnKickMessage()

bool CModules::OnKickMessage ( CKickMessage Message)

◆ OnLoginAttempt()

bool CModules::OnLoginAttempt ( std::shared_ptr< CAuthBase Auth)

◆ OnModCommand()

bool CModules::OnModCommand ( const CString sCommand)

◆ OnModCTCP()

bool CModules::OnModCTCP ( const CString sMessage)

◆ OnMode()

bool CModules::OnMode ( const CNick OpNick,
CChan Channel,
char  uMode,
const CString sArg,
bool  bAdded,
bool  bNoChange 
)

◆ OnMode2()

bool CModules::OnMode2 ( const CNick pOpNick,
CChan Channel,
char  uMode,
const CString sArg,
bool  bAdded,
bool  bNoChange 
)

◆ OnModNotice()

bool CModules::OnModNotice ( const CString sMessage)

◆ OnModuleLoading()

bool CModules::OnModuleLoading ( const CString sModName,
const CString sArgs,
CModInfo::EModuleType  eType,
bool &  bSuccess,
CString sRetMsg 
)

◆ OnModuleUnloading()

bool CModules::OnModuleUnloading ( CModule pModule,
bool &  bSuccess,
CString sRetMsg 
)

◆ OnNick()

bool CModules::OnNick ( const CNick Nick,
const CString sNewNick,
const std::vector< CChan * > &  vChans 
)

◆ OnNickMessage()

bool CModules::OnNickMessage ( CNickMessage Message,
const std::vector< CChan * > &  vChans 
)

◆ OnNumericMessage()

bool CModules::OnNumericMessage ( CNumericMessage Message)

◆ OnOp()

bool CModules::OnOp ( const CNick OpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnOp2()

bool CModules::OnOp2 ( const CNick pOpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnPart()

bool CModules::OnPart ( const CNick Nick,
CChan Channel,
const CString sMessage 
)

◆ OnPartMessage()

bool CModules::OnPartMessage ( CPartMessage Message)

◆ OnPostRehash()

bool CModules::OnPostRehash ( )

◆ OnPreRehash()

bool CModules::OnPreRehash ( )

◆ OnPrivAction()

bool CModules::OnPrivAction ( CNick Nick,
CString sMessage 
)

◆ OnPrivActionMessage()

bool CModules::OnPrivActionMessage ( CActionMessage Message)

◆ OnPrivBufferEnding()

bool CModules::OnPrivBufferEnding ( CQuery Query,
CClient Client 
)

◆ OnPrivBufferPlayLine()

bool CModules::OnPrivBufferPlayLine ( CClient Client,
CString sLine 
)

◆ OnPrivBufferPlayLine2()

bool CModules::OnPrivBufferPlayLine2 ( CClient Client,
CString sLine,
const timeval &  tv 
)

◆ OnPrivBufferPlayMessage()

bool CModules::OnPrivBufferPlayMessage ( CMessage Message)

◆ OnPrivBufferStarting()

bool CModules::OnPrivBufferStarting ( CQuery Query,
CClient Client 
)

◆ OnPrivCTCP()

bool CModules::OnPrivCTCP ( CNick Nick,
CString sMessage 
)

◆ OnPrivCTCPMessage()

bool CModules::OnPrivCTCPMessage ( CCTCPMessage Message)

◆ OnPrivMsg()

bool CModules::OnPrivMsg ( CNick Nick,
CString sMessage 
)

◆ OnPrivNotice()

bool CModules::OnPrivNotice ( CNick Nick,
CString sMessage 
)

◆ OnPrivNoticeMessage()

bool CModules::OnPrivNoticeMessage ( CNoticeMessage Message)

◆ OnPrivTextMessage()

bool CModules::OnPrivTextMessage ( CTextMessage Message)

◆ OnQuit()

bool CModules::OnQuit ( const CNick Nick,
const CString sMessage,
const std::vector< CChan * > &  vChans 
)

◆ OnQuitMessage()

bool CModules::OnQuitMessage ( CQuitMessage Message,
const std::vector< CChan * > &  vChans 
)

◆ OnRaw()

bool CModules::OnRaw ( CString sLine)

◆ OnRawMessage()

bool CModules::OnRawMessage ( CMessage Message)

◆ OnRawMode()

bool CModules::OnRawMode ( const CNick OpNick,
CChan Channel,
const CString sModes,
const CString sArgs 
)

◆ OnRawMode2()

bool CModules::OnRawMode2 ( const CNick pOpNick,
CChan Channel,
const CString sModes,
const CString sArgs 
)

◆ OnSendToClient()

bool CModules::OnSendToClient ( CString sLine,
CClient Client 
)

◆ OnSendToClientMessage()

bool CModules::OnSendToClientMessage ( CMessage Message)

◆ OnSendToIRC()

bool CModules::OnSendToIRC ( CString sLine)

◆ OnSendToIRCMessage()

bool CModules::OnSendToIRCMessage ( CMessage Message)

◆ OnServerCapAvailable()

bool CModules::OnServerCapAvailable ( const CString sCap)

◆ OnServerCapResult()

bool CModules::OnServerCapResult ( const CString sCap,
bool  bSuccess 
)

◆ OnStatusCommand()

bool CModules::OnStatusCommand ( CString sCommand)

◆ OnTimerAutoJoin()

bool CModules::OnTimerAutoJoin ( CChan Channel)

◆ OnTopic()

bool CModules::OnTopic ( CNick Nick,
CChan Channel,
CString sTopic 
)

◆ OnTopicMessage()

bool CModules::OnTopicMessage ( CTopicMessage Message)

◆ OnUnknownUserRaw()

bool CModules::OnUnknownUserRaw ( CClient pClient,
CString sLine 
)

◆ OnUnknownUserRawMessage()

bool CModules::OnUnknownUserRawMessage ( CMessage Message)

◆ OnUserAction()

bool CModules::OnUserAction ( CString sTarget,
CString sMessage 
)

◆ OnUserActionMessage()

bool CModules::OnUserActionMessage ( CActionMessage Message)

◆ OnUserCTCP()

bool CModules::OnUserCTCP ( CString sTarget,
CString sMessage 
)

◆ OnUserCTCPMessage()

bool CModules::OnUserCTCPMessage ( CCTCPMessage Message)

◆ OnUserCTCPReply()

bool CModules::OnUserCTCPReply ( CString sTarget,
CString sMessage 
)

◆ OnUserCTCPReplyMessage()

bool CModules::OnUserCTCPReplyMessage ( CCTCPMessage Message)

◆ OnUserJoin()

bool CModules::OnUserJoin ( CString sChannel,
CString sKey 
)

◆ OnUserJoinMessage()

bool CModules::OnUserJoinMessage ( CJoinMessage Message)

◆ OnUserMsg()

bool CModules::OnUserMsg ( CString sTarget,
CString sMessage 
)

◆ OnUserNotice()

bool CModules::OnUserNotice ( CString sTarget,
CString sMessage 
)

◆ OnUserNoticeMessage()

bool CModules::OnUserNoticeMessage ( CNoticeMessage Message)

◆ OnUserPart()

bool CModules::OnUserPart ( CString sChannel,
CString sMessage 
)

◆ OnUserPartMessage()

bool CModules::OnUserPartMessage ( CPartMessage Message)

◆ OnUserQuit()

bool CModules::OnUserQuit ( CString sMessage)

◆ OnUserQuitMessage()

bool CModules::OnUserQuitMessage ( CQuitMessage Message)

◆ OnUserRaw()

bool CModules::OnUserRaw ( CString sLine)

◆ OnUserRawMessage()

bool CModules::OnUserRawMessage ( CMessage Message)

◆ OnUserTextMessage()

bool CModules::OnUserTextMessage ( CTextMessage Message)

◆ OnUserTopic()

bool CModules::OnUserTopic ( CString sChannel,
CString sTopic 
)

◆ OnUserTopicMessage()

bool CModules::OnUserTopicMessage ( CTopicMessage Message)

◆ OnUserTopicRequest()

bool CModules::OnUserTopicRequest ( CString sChannel)

◆ OnVoice()

bool CModules::OnVoice ( const CNick OpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ OnVoice2()

bool CModules::OnVoice2 ( const CNick pOpNick,
const CNick Nick,
CChan Channel,
bool  bNoChange 
)

◆ operator=()

CModules& CModules::operator= ( const CModules )
default

◆ ReloadModule()

bool CModules::ReloadModule ( const CString sModule,
const CString sArgs,
CUser pUser,
CIRCNetwork pNetwork,
CString sRetMsg 
)

◆ SetClient()

void CModules::SetClient ( CClient pClient)
inline

References m_pNetwork.

◆ SetNetwork()

void CModules::SetNetwork ( CIRCNetwork pNetwork)
inline

References m_pUser.

◆ SetUser()

void CModules::SetUser ( CUser pUser)
inline

◆ UnloadAll()

void CModules::UnloadAll ( )

◆ UnloadModule() [1/2]

bool CModules::UnloadModule ( const CString sModule)

◆ UnloadModule() [2/2]

bool CModules::UnloadModule ( const CString sModule,
CString sRetMsg 
)

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.

◆ m_pClient

CClient* CModules::m_pClient
protected

Referenced by GetUser().

◆ m_pNetwork

CIRCNetwork* CModules::m_pNetwork
protected

Referenced by GetClient(), and SetClient().

◆ m_pUser

CUser* CModules::m_pUser
protected

Referenced by GetNetwork(), and SetNetwork().


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