C# Class UnityEngine.Networking.ConnectionConfig

Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
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.

Method Details

AddChannel() public method

public AddChannel ( QosType value ) : byte
value QosType Add new channel to configuration.
return byte

ConnectionConfig() public method

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

public ConnectionConfig ( ) : System
return System

ConnectionConfig() public method

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

public ConnectionConfig ( ConnectionConfig config ) : System
config ConnectionConfig Connection config.
return System

GetChannel() public method

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.
return QosType

Validate() public static method

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

public static Validate ( ConnectionConfig config ) : void
config ConnectionConfig
return void