Class QosResult
Quality of Service (QoS) result for a single region.
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Syntax
[Preserve]
public class QosResult
Constructors
QosResult(String, Nullable<Double>, Nullable<Double>, Dictionary<String, List<String>>)
Quality of Service (QoS) result for a single region.
Declaration
[Preserve]
public QosResult(string regionId, double? packetLoss, double? latency, Dictionary<string, List<string>> annotations = null)
Parameters
Type | Name | Description |
---|---|---|
String | regionId | Contains the ID of the QoS region this result belongs to. |
Nullable<Double> | packetLoss | The Packet Loss for this QoS region. This is a ratio, value should be between 0.0 (no loss) and 1.0 (100% packet loss). |
Nullable<Double> | latency | The Latency for this QoS region. |
Dictionary<String, List<String>> | annotations | A dictionary of server annotations. |
Properties
Annotations
A dictionary of server annotations.
Declaration
[Preserve]
public Dictionary<string, List<string>> Annotations { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, List<String>> |
Latency
The Latency for this QoS region.
Declaration
[Preserve]
public double? Latency { get; }
Property Value
Type | Description |
---|---|
Nullable<Double> |
PacketLoss
The Packet Loss for this QoS region. This is a ratio, value should be between 0.0 (no loss) and 1.0 (100% packet loss).
Declaration
[Preserve]
public double? PacketLoss { get; }
Property Value
Type | Description |
---|---|
Nullable<Double> |
RegionId
Contains the ID of the QoS region this result belongs to.
Declaration
[Preserve]
public string RegionId { get; }
Property Value
Type | Description |
---|---|
String |