C# Class RatChat.Twitch.TwitchChatSource

Inheritance: RatChat.Core.IChatSource, INotifyPropertyChanged, RatChat.Core.ISmileCreator
Exibir arquivo Open project: JustOxlamon/Sc2tvChatPub

Public Methods

Method Description
BeginWork ( ) : void
CreateCustomView ( ) : System.Windows.Controls.UserControl
CreateSmile ( string id ) : FrameworkElement
CreateSmile ( string SmileId, System TextPanel ) : bool
EndWork ( ) : void
GetSmile ( string id ) : FrameworkElement
IrcClient_ClientInfoReceived ( object sender, EventArgs e ) : void
IrcClient_ConnectFailed ( object sender, dotIRC.IrcErrorEventArgs e ) : void
IrcClient_Connected ( object sender, EventArgs e ) : void
IrcClient_Disconnected ( object sender, EventArgs e ) : void
IrcClient_Error ( object sender, dotIRC.IrcErrorEventArgs e ) : void
IrcClient_MotdReceived ( object sender, EventArgs e ) : void
IrcClient_NetworkInformationReceived ( object sender, EventArgs e ) : void
IrcClient_ProtocolError ( object sender, dotIRC.IrcProtocolErrorEventArgs e ) : void
IrcClient_RawMessageReceived ( object sender, dotIRC.IrcRawMessageEventArgs e ) : void
OnConfigApply ( ConfigStorage Config ) : void
OnLoad ( ConfigStorage Config ) : void
TwitchChatSource ( ) : System

Protected Methods

Method Description
FireChange ( string PropertyName ) : void

Private Methods

Method Description
ParseIrcMessageWithRegex ( string message, string &prefix, string &command, string &parameters ) : bool
Reconnect ( ) : void
UpdateSmiles ( ) : void
getUserName ( string prefix ) : string

Method Details

BeginWork() public method

public BeginWork ( ) : void
return void

CreateCustomView() public method

public CreateCustomView ( ) : System.Windows.Controls.UserControl
return System.Windows.Controls.UserControl

CreateSmile() public method

public CreateSmile ( string id ) : FrameworkElement
id string
return System.Windows.FrameworkElement

CreateSmile() public method

public CreateSmile ( string SmileId, System TextPanel ) : bool
SmileId string
TextPanel System
return bool

EndWork() public method

public EndWork ( ) : void
return void

FireChange() protected method

protected FireChange ( string PropertyName ) : void
PropertyName string
return void

GetSmile() public method

public GetSmile ( string id ) : FrameworkElement
id string
return System.Windows.FrameworkElement

IrcClient_ClientInfoReceived() public method

public IrcClient_ClientInfoReceived ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

IrcClient_ConnectFailed() public method

public IrcClient_ConnectFailed ( object sender, dotIRC.IrcErrorEventArgs e ) : void
sender object
e dotIRC.IrcErrorEventArgs
return void

IrcClient_Connected() public method

public IrcClient_Connected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

IrcClient_Disconnected() public method

public IrcClient_Disconnected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

IrcClient_Error() public method

public IrcClient_Error ( object sender, dotIRC.IrcErrorEventArgs e ) : void
sender object
e dotIRC.IrcErrorEventArgs
return void

IrcClient_MotdReceived() public method

public IrcClient_MotdReceived ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

IrcClient_NetworkInformationReceived() public method

public IrcClient_NetworkInformationReceived ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

IrcClient_ProtocolError() public method

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

IrcClient_RawMessageReceived() public method

public IrcClient_RawMessageReceived ( object sender, dotIRC.IrcRawMessageEventArgs e ) : void
sender object
e dotIRC.IrcRawMessageEventArgs
return void

OnConfigApply() public method

public OnConfigApply ( ConfigStorage Config ) : void
Config ConfigStorage
return void

OnLoad() public method

public OnLoad ( ConfigStorage Config ) : void
Config ConfigStorage
return void

TwitchChatSource() public method

public TwitchChatSource ( ) : System
return System