C# Класс UnityEngine.Networking.ConnectionConfig

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddChannel ( QosType value ) : byte

ConnectionConfig ( ) : System

Will create default connection config or will copy them from another.

ConnectionConfig ( ConnectionConfig config ) : System

Will create default connection config or will copy them from another.

GetChannel ( byte idx ) : QosType

Return the QoS set for the given channel or throw an out of range exception.

Validate ( ConnectionConfig config ) : void

Validate parameters of connection config. Will throw exceptions if parameters are incorrect.

Описание методов

AddChannel() публичный Метод

public AddChannel ( QosType value ) : byte
value QosType Add new channel to configuration.
Результат byte

ConnectionConfig() публичный Метод

Will create default connection config or will copy them from another.

public ConnectionConfig ( ) : System
Результат System

ConnectionConfig() публичный Метод

Will create default connection config or will copy them from another.

public ConnectionConfig ( ConnectionConfig config ) : System
config ConnectionConfig Connection config.
Результат System

GetChannel() публичный Метод

Return the QoS set for the given channel or throw an out of range exception.

public GetChannel ( byte idx ) : QosType
idx byte Index in array.
Результат QosType

Validate() публичный статический Метод

Validate parameters of connection config. Will throw exceptions if parameters are incorrect.

public static Validate ( ConnectionConfig config ) : void
config ConnectionConfig
Результат void