Logo Search packages:      
Sourcecode: verlihub version File versions

cpiDia Class Reference

#include <cpidia.h>

Inheritance diagram for cpiDia:

nDirectConnect::nPlugin::cVHPlugin

List of all members.


Detailed Description

a verlihub's diakritica plugin

Author:
Daniel Muller

Definition at line 25 of file cpidia.h.


Public Member Functions

virtual bool AddRobot (cUserRobot *)
virtual bool AddScript (const string &filename, ostream &os)
virtual bool DelRobot (cUserRobot *)
virtual bool GetFirstScript (string &filename)
virtual bool GetNextScript (string &filename)
virtual cPluginUserData * GetPluginUserData (cUser *)
 per-user data of the plugin
virtual bool IsScriptLoaded (const string &filename)
virtual bool LoadScript (const string &filename, ostream &os)
virtual cPluginRobot * NewRobot (const string &Nick, int)
virtual bool OnCloseConn (cConnDC *)
 connection closed
virtual bool OnCreateOpList (string *OpList)
virtual bool OnCreateUserInfoList (string *InfoList)
virtual bool OnCreateUserNickList (string *NickList)
virtual void OnLoad (cServerDC *server)
 Called once when being loaded by verlihub.
virtual bool OnNewBan (cBan *)
virtual bool OnNewConn (cConnDC *conn)
 when new conn is accepted, return false if it was closed
virtual bool OnNewReg (cRegUserInfo *)
virtual bool OnOperatorCommand (cConnDC *, std::string *)
virtual bool OnOperatorDrops (cUser *OP, cUser *User)
virtual bool OnOperatorKicks (cUser *OP, cUser *User, std::string *Reason)
virtual bool OnParsedMsgAny (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgChat (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgChat (cConnDC *conn, cMessageDC *)
virtual bool OnParsedMsgConnectToMe (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgMyINFO (cConnDC *, cMessageDC *)
 $MyINFO comes
virtual bool OnParsedMsgMyPass (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgPM (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgRevConnectToMe (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgSearch (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgSR (cConnDC *, cMessageDC *)
virtual bool OnParsedMsgSupport (cConnDC *, cMessageDC *)
 $Supports message came
virtual bool OnParsedMsgValidateNick (cConnDC *, cMessageDC *)
 $ValidateNick comes
virtual bool OnTimer ()
virtual bool OnUnknownMsg (cConnDC *, cMessageDC *)
 when unknown message data comes from a connection
virtual bool OnUserCommand (cConnDC *, std::string *)
virtual bool OnUserLogin (cUser *)
 called when user login is finished, all checked and ok
virtual bool OnUserLogout (cUser *)
virtual bool OnValidateTag (cConnDC *, cDCTag *)
virtual bool RegisterAll ()
 Called when loading and when it's the correct time to register for callbacks.
virtual bool RobotOnPM (cPluginRobot *, cMessageDC *, cConnDC *)
 robot events
virtual cPluginUserData * SetPluginUserData (cUser *, cPluginUserData *NewData)
virtual bool SupportsMultipleScripts ()
virtual bool SupportsScripts ()
virtual bool UnLoadScript (const string &filename)

Public Attributes

cDiaCfg * mCfg
cUserCollection mRobots
cServerDC * mServer
 Pointer for the verlihub server.
tHashArray< cPluginUserData * > * mUserDataTable
char replace_array [256]

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

Generated by  Doxygen 1.6.0   Back to index