C# Class fCraft.IRC

IRC control class.
显示文件 Open project: GlennMR/800craft

Public Methods

Method Description
Init ( ) : void
PlayerDisconnectedHandler ( object sender, PlayerDisconnectedEventArgs e ) : void
PlayerReadyHandler ( object sender, IPlayerEvent e ) : void
PlayerSomethingMessage ( [ player, [ action, [ target, [ reason ) : void
SendAction ( [ line ) : void
SendChannelMessage ( [ line ) : void
SendRawMessage ( string prefix, [ line, string suffix ) : void
Start ( ) : bool

Private Methods

Method Description
AssignBotForInputParsing ( ) : void
ChatSentHandler ( object sender, ChatSentEventArgs args ) : void
Disconnect ( ) : void
GetMessageType ( [ rawline, [ actualBotNick ) : IRCMessageType
HookUpHandlers ( ) : void
IsBotNick ( [ str ) : bool
MessageParser ( [ rawline, [ actualBotNick ) : IRCMessage
PlayerInfoBanChangedHandler ( object sender, PlayerInfoBanChangedEventArgs e ) : void
PlayerInfoRankChangedHandler ( object sender, PlayerInfoRankChangedEventArgs e ) : void
PlayerKickedHandler ( object sender, PlayerKickedEventArgs e ) : void
ProcessMessageFromIRC ( [ message ) : string
ProcessMessageToIRC ( [ message ) : string
ShowPlayerDisconnectedMsg ( Player player, LeaveReason leaveReason ) : void

Method Details

Init() public static method

public static Init ( ) : void
return void

PlayerDisconnectedHandler() public static method

public static PlayerDisconnectedHandler ( object sender, PlayerDisconnectedEventArgs e ) : void
sender object
e fCraft.Events.PlayerDisconnectedEventArgs
return void

PlayerReadyHandler() public static method

public static PlayerReadyHandler ( object sender, IPlayerEvent e ) : void
sender object
e IPlayerEvent
return void

PlayerSomethingMessage() public static method

public static PlayerSomethingMessage ( [ player, [ action, [ target, [ reason ) : void
player [
action [
target [
reason [
return void

SendAction() public static method

public static SendAction ( [ line ) : void
line [
return void

SendChannelMessage() public static method

public static SendChannelMessage ( [ line ) : void
line [
return void

SendRawMessage() public static method

public static SendRawMessage ( string prefix, [ line, string suffix ) : void
prefix string
line [
suffix string
return void

Start() public static method

public static Start ( ) : bool
return bool