C# Class Chatengine.Relay.RelayBot

Inheritance: BasicIrcBot
Show file Open project: CellAO/CellAO-NightPredator Class Usage Examples

Public Properties

Property Type Description
replyQueuePlayfieldList Queue

Public Methods

Method Description
IrcClient_ProtocolError ( object sender, IrcProtocolErrorEventArgs e ) : void

RelayBot ( ) : System

Run ( ChatServer chatServer ) : void

Protected Methods

Method 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

Method 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 method

protected InitializeRelayChatCommandProcessors ( ) : void
return void

IrcClient_ProtocolError() public method

public IrcClient_ProtocolError ( object sender, IrcProtocolErrorEventArgs e ) : void
sender object ///
e IrcDotNet.IrcProtocolErrorEventArgs ///
return void

OnChannelMessageReceived() protected method

protected OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcMessageEventArgs ///
return void

OnChannelNoticeReceived() protected method

protected OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcMessageEventArgs ///
return void

OnChannelUserJoined() protected method

protected OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcChannelUserEventArgs ///
return void

OnChannelUserLeft() protected method

protected OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcDotNet.IrcChannel ///
e IrcDotNet.IrcChannelUserEventArgs ///
return void

OnClientConnect() protected method

protected OnClientConnect ( IrcClient client ) : void
client IrcDotNet.IrcClient ///
return void

OnClientDisconnect() protected method

protected OnClientDisconnect ( IrcClient client ) : void
client IrcDotNet.IrcClient ///
return void

OnClientRegistered() protected method

protected OnClientRegistered ( IrcClient client ) : void
client IrcDotNet.IrcClient ///
return void

OnLocalUserJoinedChannel() protected method

protected OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcChannelEventArgs ///
return void

OnLocalUserLeftChannel() protected method

protected OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcChannelEventArgs ///
return void

OnLocalUserMessageReceived() protected method

protected OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcMessageEventArgs ///
return void

OnLocalUserNoticeReceived() protected method

protected OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcDotNet.IrcLocalUser ///
e IrcDotNet.IrcMessageEventArgs ///
return void

RelayBot() public method

public RelayBot ( ) : System
return System

Run() public method

public Run ( ChatServer chatServer ) : void
chatServer ChatServer ///
return void

client_ChannelListReceived() protected method

protected client_ChannelListReceived ( object sender, IrcChannelListReceivedEventArgs e ) : void
sender object ///
e IrcDotNet.IrcChannelListReceivedEventArgs ///
return void

Property Details

replyQueuePlayfieldList public property

public Queue replyQueuePlayfieldList
return Queue