C# 클래스 Squishy.Irc.Commands.CmdTrigger

CmdTriggers trigger Commands. There are different kinds of triggers which are handled differently, according to where they came from.
파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
NotifyServResponse ( string sender, string action, string remainder ) : bool

메소드 상세

CmdTrigger() 공개 메소드

public CmdTrigger ( ) : System
리턴 System

CmdTrigger() 공개 메소드

public CmdTrigger ( Squishy.Network.StringStream args ) : System
args Squishy.Network.StringStream
리턴 System

CmdTrigger() 공개 메소드

public CmdTrigger ( Squishy.Network.StringStream args, IrcUser user, IrcChannel chan ) : System
args Squishy.Network.StringStream
user IrcUser
chan IrcChannel
리턴 System

MayTrigger() 공개 메소드

public MayTrigger ( ) : bool
리턴 bool

MayTrigger() 공개 메소드

public MayTrigger ( Command cmd ) : bool
cmd Command
리턴 bool

OnServerResponse() 공개 메소드

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
리턴 bool

Reply() 공개 메소드

public Reply ( Object format ) : void
format Object
리턴 void

Reply() 공개 추상적인 메소드

Replies accordingly with the given text.
public abstract Reply ( string text ) : void
text string
리턴 void