C# Class UnityEngine.Networking.ConnectionConfig

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AddChannel ( QosType value ) : byte
value QosType Add new channel to configuration.
Résultat byte

ConnectionConfig() public méthode

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

public ConnectionConfig ( ) : System
Résultat System

ConnectionConfig() public méthode

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

public ConnectionConfig ( ConnectionConfig config ) : System
config ConnectionConfig Connection config.
Résultat System

GetChannel() public méthode

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.
Résultat QosType

Validate() public static méthode

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

public static Validate ( ConnectionConfig config ) : void
config ConnectionConfig
Résultat void