메소드 | 설명 | |
---|---|---|
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 |
리턴 | System |
public SetMessageGroup ( ushort messageGroup ) : void | ||
messageGroup | ushort | The numerical identifier of the message group |
리턴 | void |
public SetMyBehavior ( |
||
behavior | The NetworkedMonoBehavior that represents the player | |
리턴 | void |