C# Class hitaBot.WS.HitboxChat

Show file Open project: Hitakashi/hitaBot-WS

Public Properties

Property Type Description
_ws WebSocket4Net.WebSocket

Public Methods

Method Description
Close ( ) : void
Connect ( ) : void
CreateClient ( ) : HitboxChat
HitboxChat ( bool debug = false ) : System
PreFetchServers ( ) : void
Send ( string message ) : void

Private Methods

Method Description
OnRaiseBanList ( BanListEventArgs e ) : void
OnRaiseChatLog ( ChatLogEventArgs e ) : void
OnRaiseChatMsg ( ChatMsgEventArgs e ) : void
OnRaiseCloseMsg ( EventArgs e ) : void
OnRaiseDirectMsg ( DirectMsgEventArgs e ) : void
OnRaiseErrorMsg ( WSErrorEventArgs e ) : void
OnRaiseInfoMsg ( InfoMsgEventArgs e ) : void
OnRaiseLoginMsg ( LoginMsgEventArgs e ) : void
OnRaiseMediaLog ( MediaLogEventArgs e ) : void
OnRaiseNotifyMsg ( NotifyMsgEventArgs e ) : void
OnRaiseOpenMsg ( EventArgs e ) : void
OnRaiseServerMsg ( ServerMsgEventArgs e ) : void
OnRaiseSlowMsg ( SlowMsgEventArgs e ) : void
OnRaiseUserInfo ( UserInfoEventArgs e ) : void
OnRaiseUserList ( UserListEventArgs e ) : void
Ws_OnMessage ( object sender, WebSocket4Net.MessageReceivedEventArgs e ) : void
Ws_OnOpen ( object sender, EventArgs e ) : void
_ws_OnClose ( object sender, EventArgs e ) : void
_ws_OnError ( object sender, SuperSocket.ClientEngine.ErrorEventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

CreateClient() public method

public CreateClient ( ) : HitboxChat
return HitboxChat

HitboxChat() public method

public HitboxChat ( bool debug = false ) : System
debug bool
return System

PreFetchServers() public static method

public static PreFetchServers ( ) : void
return void

Send() public method

public Send ( string message ) : void
message string
return void

Property Details

_ws public property

public WebSocket,WebSocket4Net _ws
return WebSocket4Net.WebSocket