C# Class MCDawn.IRCBot

Afficher le fichier Open project: jonnyli1125/MCDawn Class Usage Examples

Méthodes publiques

Méthode Description
GetChannelUsers ( string channel ) : List
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

Méthode Description
OnAction ( object sender, ActionEventArgs e ) : void
OnChanMessage ( object sender, IrcEventArgs e ) : void
OnCommand ( 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
OnKick ( object sender, KickEventArgs 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

GetChannelUsers() public static méthode

public static GetChannelUsers ( string channel ) : List
channel string
Résultat List

IRCBot() public méthode

public IRCBot ( ) : System
Résultat System

IsConnected() public static méthode

public static IsConnected ( ) : bool
Résultat bool

Reset() public static méthode

public static Reset ( ) : void
Résultat void

Say() public static méthode

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
Résultat void

ShutDown() public static méthode

public static ShutDown ( ) : void
Résultat void