C# Class MCDawn.GlobalChatBot

Mostrar archivo Open project: jonnyli1125/MCDawn Class Usage Examples

Public Methods

Method Description
DisplayAction ( string temp, IrcEventArgs e ) : void
DisplayMessage ( string temp, IrcEventArgs e ) : void
GetConnectedUsers ( ) : string[]
GlobalChatBot ( ) : System
IsConnected ( ) : bool
OnNickChange ( object sender, NickChangeEventArgs e ) : void
Reset ( ) : void
Say ( string msg, bool devchat = 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
OnPart ( object sender, PartEventArgs e ) : void
OnQuit ( object sender, QuitEventArgs e ) : void

Method Details

DisplayAction() public static method

public static DisplayAction ( string temp, IrcEventArgs e ) : void
temp string
e Meebey.SmartIrc4net.IrcEventArgs
return void

DisplayMessage() public static method

public static DisplayMessage ( string temp, IrcEventArgs e ) : void
temp string
e Meebey.SmartIrc4net.IrcEventArgs
return void

GetConnectedUsers() public static method

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

GlobalChatBot() public method

public GlobalChatBot ( ) : System
return System

IsConnected() public static method

public static IsConnected ( ) : bool
return bool

OnNickChange() public method

public OnNickChange ( object sender, NickChangeEventArgs e ) : void
sender object
e Meebey.SmartIrc4net.NickChangeEventArgs
return void

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 devchat = false ) : void
msg string what to send
devchat bool
return void

ShutDown() public static method

public static ShutDown ( ) : void
return void