C# 클래스 UnityEngine.Networking.NetworkClient

High level UNET client.

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_AsyncConnect ConnectState
m_Connection NetworkConnection

공개 메소드들

메소드 설명
Configure ( ConnectionConfig config, int maxConnections ) : bool

This configures the transport layer settings for a client.

Configure ( HostTopology topology ) : bool

This configures the transport layer settings for a client.

Connect ( EndPoint secureTunnelEndPoint ) : void
Connect ( MatchInfo matchInfo ) : void
Connect ( string serverIp, int serverPort ) : void

Connect client to a NetworkServer instance.

NetworkClient ( ) : System

Creates a new NetworkClient instance.

NetworkClient ( NetworkConnection conn ) : System

비공개 메소드들

메소드 설명
AddClient ( NetworkClient client ) : void

메소드 상세

Configure() 공개 메소드

This configures the transport layer settings for a client.

public Configure ( ConnectionConfig config, int maxConnections ) : bool
config ConnectionConfig Transport layer configuration object.
maxConnections int The maximum number of connections to allow.
리턴 bool

Configure() 공개 메소드

This configures the transport layer settings for a client.

public Configure ( HostTopology topology ) : bool
topology HostTopology Transport layer topology object.
리턴 bool

Connect() 공개 메소드

public Connect ( EndPoint secureTunnelEndPoint ) : void
secureTunnelEndPoint System.Net.EndPoint
리턴 void

Connect() 공개 메소드

public Connect ( MatchInfo matchInfo ) : void
matchInfo UnityEngine.Networking.Match.MatchInfo
리턴 void

Connect() 공개 메소드

Connect client to a NetworkServer instance.

public Connect ( string serverIp, int serverPort ) : void
serverIp string Target IP address or hostname.
serverPort int Target port number.
리턴 void

NetworkClient() 공개 메소드

Creates a new NetworkClient instance.

public NetworkClient ( ) : System
리턴 System

NetworkClient() 공개 메소드

public NetworkClient ( NetworkConnection conn ) : System
conn NetworkConnection
리턴 System

프로퍼티 상세

m_AsyncConnect 보호되어 있는 프로퍼티

protected ConnectState m_AsyncConnect
리턴 ConnectState

m_Connection 보호되어 있는 프로퍼티

protected NetworkConnection,UnityEngine.Networking m_Connection
리턴 NetworkConnection