Method | Description | |
---|---|---|
NetworkingPlayer ( ulong networkId, string ip, object socketEndpoint, string name ) : System |
Constructor for the NetworkingPlayer
|
|
Ping ( ) : void |
Ping the NetworkingPlayer
|
|
Rename ( string name ) : void |
Set the name of this player
|
|
SetMessageGroup ( ushort messageGroup ) : void |
Assigns the message group for this player
|
|
SetMyBehavior ( |
Assigns the object that is the players identity object
|
public NetworkingPlayer ( ulong networkId, string ip, object socketEndpoint, string name ) : System | ||
networkId | ulong | NetworkId set for the NetworkingPlayer |
ip | string | IP address of the NetworkingPlayer |
socketEndpoint | object | The socket to the Networking player |
name | string | Name of the NetworkingPlayer |
return | System |
public Rename ( string name ) : void | ||
name | string | The name to be assigned |
return | void |
public SetMessageGroup ( ushort messageGroup ) : void | ||
messageGroup | ushort | The numerical identifier of the message group |
return | void |
public SetMyBehavior ( |
||
behavior | The NetworkedMonoBehavior that represents the player | |
return | void |