C# Class SagaMap.LoginSession

Maybe we'll remove this.
Inheritance: SagaLib.Client
Datei anzeigen Open project: Willyham/SagaRO2 Class Usage Examples

Public Properties

Property Type Description
state SESSION_STATE

Public Methods

Method Description
Connect ( Socket sock, string host, int port ) : void
LoginSession ( string host, int port ) : System
OnConnect ( ) : void
OnIdentAnswer ( Packets p ) : void
OnSendGUID ( Packets p ) : void
OnSendKey ( SagaMap p ) : void

Method Details

Connect() public method

public Connect ( Socket sock, string host, int port ) : void
sock System.Net.Sockets.Socket
host string
port int
return void

LoginSession() public method

public LoginSession ( string host, int port ) : System
host string
port int
return System

OnConnect() public method

public OnConnect ( ) : void
return void

OnIdentAnswer() public method

public OnIdentAnswer ( Packets p ) : void
p Packets
return void

OnSendGUID() public method

public OnSendGUID ( Packets p ) : void
p Packets
return void

OnSendKey() public method

public OnSendKey ( SagaMap p ) : void
p SagaMap
return void

Property Details

state public_oe property

The state of this session. Changes from NOT_IDENTIFIED to IDENTIFIED or REJECTED.
public SESSION_STATE state
return SESSION_STATE