C# Class MapServer.GameServer

Mostra file Open project: dream-young-soul/soul

Public Methods

Method Description
GetTcpServer ( ) : TcpServer
IsTestMode ( ) : bool
LogicRun ( ) : void
Start ( ) : bool
Stop ( ) : void

Private Methods

Method Description
OnClose ( Socket s ) : void
OnConnect ( Socket s ) : void
OnReceive ( Socket s, byte data, int nSize ) : void

Method Details

GetTcpServer() public static method

public static GetTcpServer ( ) : TcpServer
return GameBase.Network.TcpServer

IsTestMode() public static method

public static IsTestMode ( ) : bool
return bool

LogicRun() public static method

public static LogicRun ( ) : void
return void

Start() public static method

public static Start ( ) : bool
return bool

Stop() public static method

public static Stop ( ) : void
return void