C# Class Chatengine.Relay.RelayBot

Inheritance: BasicIrcBot
Afficher le fichier Open project: CellAO/CellAO-NightPredator Class Usage Examples

Méthodes publiques

Свойство Type Description
replyQueuePlayfieldList Queue

Méthodes publiques

Méthode Description
IrcClient_ProtocolError ( object sender, IrcProtocolErrorEventArgs e ) : void

RelayBot ( ) : System

Run ( ChatServer chatServer ) : void

Méthodes protégées

Méthode Description
InitializeRelayChatCommandProcessors ( ) : void

OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void

OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void

OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void

OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void

OnClientConnect ( IrcClient client ) : void

OnClientDisconnect ( IrcClient client ) : void

OnClientRegistered ( IrcClient client ) : void

OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void

OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void

OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void

OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void

client_ChannelListReceived ( object sender, IrcChannelListReceivedEventArgs e ) : void

Private Methods

Méthode Description
GetCellAOBotUser ( IrcUser ircUSer ) : ChatEngine.Relay.CellAoBotUser
ProcessChatCommandListUsers ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

ProcessChatCommandLogIn ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

ProcessChatCommandLogOut ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

ProcessChatCommandMentions ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

ProcessChatCommandRegister ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

ProcessChatCommandSend ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

ProcessChatCommandServerInfo ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void

Need to change Some Information in this code. Probably a Seperate MOTD for IRC or something to have the bot read and send for connection Info.

ProcessChatCommandZoneInfo ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
RelayedChannel_OnChannelMessage ( object sender, ChannelMessageEventArgs e ) : void

SanitizeTextForIrc ( string value ) : string

SendGreeting ( IrcLocalUser localUser, IIrcMessageTarget target ) : void

Method Details

InitializeRelayChatCommandProcessors() protected méthode

protected InitializeRelayChatCommandProcessors ( ) : void
Résultat void

IrcClient_ProtocolError() public méthode

public IrcClient_ProtocolError ( object sender, IrcProtocolErrorEventArgs e ) : void
sender object ///
e IrcDotNet.IrcProtocolErrorEventArgs ///
Résultat void

OnChannelMessageReceived() protected méthode

protected OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcMessageEventArgs ///
Résultat void

OnChannelNoticeReceived() protected méthode

protected OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcMessageEventArgs ///
Résultat void

OnChannelUserJoined() protected méthode

protected OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcChannelUserEventArgs ///
Résultat void

OnChannelUserLeft() protected méthode

protected OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcChannelUserEventArgs ///
Résultat void

OnClientConnect() protected méthode

protected OnClientConnect ( IrcClient client ) : void
client IrcDotNet.IrcClient ///
Résultat void

OnClientDisconnect() protected méthode

protected OnClientDisconnect ( IrcClient client ) : void
client IrcDotNet.IrcClient ///
Résultat void

OnClientRegistered() protected méthode

protected OnClientRegistered ( IrcClient client ) : void
client IrcDotNet.IrcClient ///
Résultat void

OnLocalUserJoinedChannel() protected méthode

protected OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcChannelEventArgs ///
Résultat void

OnLocalUserLeftChannel() protected méthode

protected OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcChannelEventArgs ///
Résultat void

OnLocalUserMessageReceived() protected méthode

protected OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcMessageEventArgs ///
Résultat void

OnLocalUserNoticeReceived() protected méthode

protected OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcMessageEventArgs ///
Résultat void

RelayBot() public méthode

public RelayBot ( ) : System
Résultat System

Run() public méthode

public Run ( ChatServer chatServer ) : void
chatServer ChatServer ///
Résultat void

client_ChannelListReceived() protected méthode

protected client_ChannelListReceived ( object sender, IrcChannelListReceivedEventArgs e ) : void
sender object ///
e IrcDotNet.IrcChannelListReceivedEventArgs ///
Résultat void

Property Details

replyQueuePlayfieldList public_oe property

public Queue replyQueuePlayfieldList
Résultat Queue