Defines a connected player. More...
Public Member Functions | |
| ModConnection (object connection) | |
| bool | IsValid () |
| Returns whether this connection is valid. | |
Static Public Member Functions | |
| static void | Setup () |
Properties | |
| int | Id [get] |
| Returns their unique id. | |
| bool | IsHost [get] |
| Returns whether they are the host. | |
| bool | Me [get] |
| Returns whether this is me. | |
| string | Name [get] |
| Returns their player name. | |
| bool | Authenticated [get] |
| Returns whether they have been authenticated i.e have the correct version of the game. | |
| float | LastMessageTime [get] |
| Returns the last Time.time we recieved a packet from them. | |
Defines a connected player.
| ModWobblyLife.Network.ModConnection.ModConnection | ( | object | connection | ) |
| bool ModWobblyLife.Network.ModConnection.IsValid | ( | ) |
Returns whether this connection is valid.
|
static |
|
get |
Returns whether they have been authenticated i.e have the correct version of the game.
|
get |
Returns their unique id.
|
get |
Returns whether they are the host.
|
get |
Returns the last Time.time we recieved a packet from them.
|
get |
Returns whether this is me.
|
get |
Returns their player name.