Property | Type | Description | |
---|---|---|---|
ClientPlayerId | int | ||
Id | int |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
Connection ( |
Initializes a new instance of the Connection class and uses the already established connection.
|
|
Connection ( string host, int port, int id ) : System |
Initializes a new instance of the Connection class and connects to the specified port on the specified host.
|
|
ReadUpdates ( ) : void | ||
Send ( object obj ) : bool |
Serializes on object and send it to another game instance.
|
public Connection ( |
||
connection | An already established connection. | |
id | int | Id for this connection |
return | System |
public Connection ( string host, int port, int id ) : System | ||
host | string | The DNS name of the remote host to which you intend to connect. |
port | int | The port number of the remote host to which you intend to connect. |
id | int | Id for this connection |
return | System |