Anope IRC Services  Version 2.0
Public Member Functions
CommandCSGStats Class Reference
Inheritance diagram for CommandCSGStats:
Inheritance graph
Collaboration diagram for CommandCSGStats:
Collaboration graph

Public Member Functions

 CommandCSGStats (Module *creator)
void Execute (CommandSource &source, const std::vector< Anope::string > &params)
- Public Member Functions inherited from Command
virtual ~Command ()
bool AllowUnregistered () const
bool RequireUser () const
virtual const Anope::string GetDesc (CommandSource &source) const
virtual void OnServHelp (CommandSource &source)
virtual bool OnHelp (CommandSource &source, const Anope::string &subcommand)
virtual void OnSyntaxError (CommandSource &source, const Anope::string &subcommand)
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Static Public Member Functions inherited from Command
static void Run (CommandSource &source, const Anope::string &message)
static bool FindCommandFromService (const Anope::string &command_service, BotInfo *&bi, Anope::string &name)
- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Command
size_t max_params
size_t min_params
- Data Fields inherited from Service
Anope::string type
Anope::string name
- Protected Member Functions inherited from Command
 Command (Module *owner, const Anope::string &sname, size_t min_params, size_t max_params=0)
void SetDesc (const Anope::string &d)
void ClearSyntax ()
void SetSyntax (const Anope::string &s)
void SendSyntax (CommandSource &)
void AllowUnregistered (bool b)
void RequireUser (bool b)

Detailed Description

Definition at line 46 of file cs_fantasy_stats.cpp.

Constructor & Destructor Documentation

CommandCSGStats::CommandCSGStats ( Module creator)

Definition at line 49 of file cs_fantasy_stats.cpp.

References _, Command::SetDesc(), and Command::SetSyntax().

Member Function Documentation

void CommandCSGStats::Execute ( CommandSource source,
const std::vector< Anope::string > &  params 

Execute this command.

sourceThe source
paramsCommand parameters

Implements Command.

Definition at line 171 of file cs_fantasy_stats.cpp.

References CSStats::DoStats().

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