C# Class NewServer, 3in1

Inheritance: MonoBehaviour
Afficher le fichier Open project: motouhui/3in1 Class Usage Examples

Méthodes publiques

Свойство Type Description
Connected bool

Méthodes publiques

Méthode 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

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

Method Details

AddGameServerAction() public méthode

public AddGameServerAction ( GameServerAction action ) : void
action GameServerAction
Résultat void

AddGameServerConnectedAction() public méthode

public AddGameServerConnectedAction ( GameServerConnectedAction action ) : void
action GameServerConnectedAction
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

NewServer() public méthode

public NewServer ( string host, int port ) : System
host string
port int
Résultat System

Send() public méthode

public Send ( Command, cmd, Status, status ) : bool
cmd Command,
status Status,
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

Connected public_oe property

public bool Connected
Résultat bool