Public Member Functions | Private Member Functions

CommandOSDefcon Class Reference

Inherits Command.

Collaboration diagram for CommandOSDefcon:
Collaboration graph
[legend]

Public Member Functions

 CommandOSDefcon (Module *creator)
void Execute (CommandSource &source, const std::vector< Anope::string > &params) anope_override
bool OnHelp (CommandSource &source, const Anope::string &subcommand) anope_override

Private Member Functions

void SendLevels (CommandSource &source)

Detailed Description

Definition at line 146 of file os_defcon.cpp.


Constructor & Destructor Documentation

CommandOSDefcon::CommandOSDefcon ( Module creator  )  [inline]

Definition at line 173 of file os_defcon.cpp.

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


Member Function Documentation

void CommandOSDefcon::Execute ( CommandSource source,
const std::vector< Anope::string > &  params 
) [inline, virtual]
bool CommandOSDefcon::OnHelp ( CommandSource source,
const Anope::string subcommand 
) [inline, virtual]

Requested when the user is requesting help on this command. Help on this command should be sent to the user.

Parameters:
source The source
subcommand The subcommand the user is requesting help on, or an empty string. (e.g. /ns help set foo bar lol gives a subcommand of "FOO BAR LOL")
Returns:
true if help was provided to the user, false otherwise.

Reimplemented from Command.

Definition at line 235 of file os_defcon.cpp.

References _, and Command::SendSyntax().

void CommandOSDefcon::SendLevels ( CommandSource source  )  [inline, private]

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