C# Class Squishy.Irc.Commands.CmdTrigger

CmdTriggers trigger Commands. There are different kinds of triggers which are handled differently, according to where they came from.
Afficher le fichier Open project: jaddie/WCell-Utility-Bot Class Usage Examples

Méthodes publiques

Méthode Description
CmdTrigger ( ) : System
CmdTrigger ( Squishy.Network.StringStream args ) : System
CmdTrigger ( Squishy.Network.StringStream args, IrcUser user, IrcChannel chan ) : System
MayTrigger ( ) : bool
MayTrigger ( Command cmd ) : bool
OnServerResponse ( string sender, string action, Squishy.Network.StringStream remainder ) : bool

Is called on a response from the server

Reply ( Object format ) : void
Reply ( string text ) : void

Replies accordingly with the given text.

Private Methods

Méthode Description
NotifyServResponse ( string sender, string action, string remainder ) : bool

Method Details

CmdTrigger() public méthode

public CmdTrigger ( ) : System
Résultat System

CmdTrigger() public méthode

public CmdTrigger ( Squishy.Network.StringStream args ) : System
args Squishy.Network.StringStream
Résultat System

CmdTrigger() public méthode

public CmdTrigger ( Squishy.Network.StringStream args, IrcUser user, IrcChannel chan ) : System
args Squishy.Network.StringStream
user IrcUser
chan IrcChannel
Résultat System

MayTrigger() public méthode

public MayTrigger ( ) : bool
Résultat bool

MayTrigger() public méthode

public MayTrigger ( Command cmd ) : bool
cmd Command
Résultat bool

OnServerResponse() public méthode

Is called on a response from the server
public OnServerResponse ( string sender, string action, Squishy.Network.StringStream remainder ) : bool
sender string
action string
remainder Squishy.Network.StringStream
Résultat bool

Reply() public méthode

public Reply ( Object format ) : void
format Object
Résultat void

Reply() public abstract méthode

Replies accordingly with the given text.
public abstract Reply ( string text ) : void
text string
Résultat void