C# Class NewServer, 3in1

Inheritance: MonoBehaviour
ファイルを表示 Open project: motouhui/3in1 Class Usage Examples

Public Properties

Property Type Description
Connected bool

Public Methods

Method Description
AddGameServerAction ( GameServerAction action ) : void
AddGameServerConnectedAction ( GameServerConnectedAction action ) : void
Close ( ) : void
NewServer ( string host, int port ) : System
Send ( Command, cmd, Status, status ) : bool
Start ( ) : void

Private Methods

Method Description
Connect ( string host, int port ) : void
ReceiveMessage ( IAsyncResult ar ) : void
SendCommand ( Command, command, Status, status ) : void

Method Details

AddGameServerAction() public method

public AddGameServerAction ( GameServerAction action ) : void
action GameServerAction
return void

AddGameServerConnectedAction() public method

public AddGameServerConnectedAction ( GameServerConnectedAction action ) : void
action GameServerConnectedAction
return void

Close() public method

public Close ( ) : void
return void

NewServer() public method

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

Send() public method

public Send ( Command, cmd, Status, status ) : bool
cmd Command,
status Status,
return bool

Start() public method

public Start ( ) : void
return void

Property Details

Connected public_oe property

public bool Connected
return bool