C# Class GameBase.Network.GameSession

Mostra file Open project: dream-young-soul/soul Class Usage Examples

Public Properties

Property Type Description
gameid uint
m_GamePack GamePack
m_Socket Socket
m_nLastTime int
server TcpServer

Public Methods

Method Description
Dispose ( ) : void
GameSession ( Socket s, TcpServer tcpserver = null ) : System
GetGamePackKeyEx ( ) : GamePacketKeyEx
GetTcpServer ( ) : TcpServer
SendData ( byte data ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GameSession() public method

public GameSession ( Socket s, TcpServer tcpserver = null ) : System
s Socket
tcpserver TcpServer
return System

GetGamePackKeyEx() public method

public GetGamePackKeyEx ( ) : GamePacketKeyEx
return GamePacketKeyEx

GetTcpServer() public method

public GetTcpServer ( ) : TcpServer
return TcpServer

SendData() public method

public SendData ( byte data ) : void
data byte
return void

Property Details

gameid public_oe property

public uint gameid
return uint

m_GamePack public_oe property

public GamePack,GameBase.Network m_GamePack
return GamePack

m_Socket public_oe property

public Socket m_Socket
return Socket

m_nLastTime public_oe property

public int m_nLastTime
return int

server public_oe property

public TcpServer,GameBase.Network server
return TcpServer