C# 클래스 BeardedManStudios.Network.NetworkingPlayer

상속: NetworkingSerialized
파일 보기 프로젝트 열기: drakelinglabs/unityarmada 1 사용 예제들

공개 메소드들

메소드 설명
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 ( NetworkedMonoBehavior behavior ) : void

Assigns the object that is the players identity object

메소드 상세

NetworkingPlayer() 공개 메소드

Constructor for the NetworkingPlayer
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

Ping() 공개 메소드

Ping the NetworkingPlayer
public Ping ( ) : void
리턴 void

Rename() 공개 메소드

Set the name of this player
public Rename ( string name ) : void
name string The name to be assigned
리턴 void

SetMessageGroup() 공개 메소드

Assigns the message group for this player
public SetMessageGroup ( ushort messageGroup ) : void
messageGroup ushort The numerical identifier of the message group
리턴 void

SetMyBehavior() 공개 메소드

Assigns the object that is the players identity object
public SetMyBehavior ( NetworkedMonoBehavior behavior ) : void
behavior NetworkedMonoBehavior The NetworkedMonoBehavior that represents the player
리턴 void