C# Class IrcDotNet.MarkovChainTextBot

Inheritance: BasicIrcBot
Afficher le fichier Open project: IrcDotNet/IrcDotNet Class Usage Examples

Méthodes publiques

Méthode Description
MarkovChainTextBot ( ) : System

Méthodes protégées

Méthode Description
InitializeChatCommandProcessors ( ) : void
InitializeCommandProcessors ( ) : 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

Private Methods

Méthode Description
GenerateRandomSentence ( ) : string
ProcessChatCommandStats ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
ProcessChatCommandTalk ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
SendRandomMessage ( IrcClient client, IList targets, string textPrefix, int numSentences = -1 ) : void

Method Details

InitializeChatCommandProcessors() protected méthode

protected InitializeChatCommandProcessors ( ) : void
Résultat void

InitializeCommandProcessors() protected méthode

protected InitializeCommandProcessors ( ) : void
Résultat void

MarkovChainTextBot() public méthode

public MarkovChainTextBot ( ) : System
Résultat System

OnChannelMessageReceived() protected méthode

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

OnChannelNoticeReceived() protected méthode

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

OnChannelUserJoined() protected méthode

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

OnChannelUserLeft() protected méthode

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

OnClientConnect() protected méthode

protected OnClientConnect ( IrcClient client ) : void
client IrcClient
Résultat void

OnClientDisconnect() protected méthode

protected OnClientDisconnect ( IrcClient client ) : void
client IrcClient
Résultat void

OnClientRegistered() protected méthode

protected OnClientRegistered ( IrcClient client ) : void
client IrcClient
Résultat void

OnLocalUserJoinedChannel() protected méthode

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

OnLocalUserLeftChannel() protected méthode

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

OnLocalUserMessageReceived() protected méthode

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

OnLocalUserNoticeReceived() protected méthode

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