C# 클래스 UnityEngine.Networking.HostTopology

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

공개 메소드들

메소드 설명
AddSpecialConnectionConfig ( ConnectionConfig config ) : int

Add special connection to topology (for example if you need to keep connection to standalone chat server you will need to use this function). Returned id should be use as one of parameters (with ip and port) to establish connection to this server.

GetSpecialConnectionConfig ( int i ) : ConnectionConfig

Return reference to special connection config. Parameters of this config can be changed.

HostTopology ( ConnectionConfig defaultConfig, int maxDefaultConnections ) : System

Create topology.

비공개 메소드들

메소드 설명
HostTopology ( ) : System

메소드 상세

AddSpecialConnectionConfig() 공개 메소드

Add special connection to topology (for example if you need to keep connection to standalone chat server you will need to use this function). Returned id should be use as one of parameters (with ip and port) to establish connection to this server.

public AddSpecialConnectionConfig ( ConnectionConfig config ) : int
config ConnectionConfig Connection config for special connection.
리턴 int

GetSpecialConnectionConfig() 공개 메소드

Return reference to special connection config. Parameters of this config can be changed.

public GetSpecialConnectionConfig ( int i ) : ConnectionConfig
i int Config id.
리턴 ConnectionConfig

HostTopology() 공개 메소드

Create topology.

public HostTopology ( ConnectionConfig defaultConfig, int maxDefaultConnections ) : System
defaultConfig ConnectionConfig Default config.
maxDefaultConnections int Maximum default connections.
리턴 System