C# Class MCLawl.IRCBot

ファイルを表示 Open project: dekema2/MCDek Class Usage Examples

Public Methods

Method Description
GetConnectedUsers ( ) : string[]
IRCBot ( ) : System
IsConnected ( ) : bool
Reset ( ) : void
Say ( string msg, bool opchat = false ) : void

A simple say method for use outside the bot class

ShutDown ( ) : void

Private Methods

Method Description
OnAction ( object sender, ActionEventArgs e ) : void
OnChanMessage ( object sender, IrcEventArgs e ) : void
OnConnected ( object sender, EventArgs e ) : void
OnConnecting ( object sender, EventArgs e ) : void
OnDisconnected ( object sender, EventArgs e ) : void
OnJoin ( object sender, JoinEventArgs e ) : void
OnNames ( object sender, NamesEventArgs e ) : void
OnNickChange ( object sender, NickChangeEventArgs e ) : void
OnPart ( object sender, PartEventArgs e ) : void
OnPrivMsg ( object sender, IrcEventArgs e ) : void
OnQuit ( object sender, QuitEventArgs e ) : void

Method Details

GetConnectedUsers() public static method

public static GetConnectedUsers ( ) : string[]
return string[]

IRCBot() public method

public IRCBot ( ) : System
return System

IsConnected() public static method

public static IsConnected ( ) : bool
return bool

Reset() public static method

public static Reset ( ) : void
return void

Say() public static method

A simple say method for use outside the bot class
public static Say ( string msg, bool opchat = false ) : void
msg string what to send
opchat bool
return void

ShutDown() public static method

public static ShutDown ( ) : void
return void