Class QosResult
Quality of Service (QoS) result for a single region.
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "QosResult")]
public class QosResult
Constructors
QosResult(string, double?, 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. |
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). |
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]
[DataMember(Name = "annotations", EmitDefaultValue = false)]
public Dictionary<string, List<string>> Annotations { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, List<string>> |
Latency
The Latency for this QoS region.
Declaration
[Preserve]
[DataMember(Name = "latency", IsRequired = true, EmitDefaultValue = true)]
public double? Latency { get; }
Property Value
Type | Description |
---|---|
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]
[DataMember(Name = "packetLoss", IsRequired = true, EmitDefaultValue = true)]
public double? PacketLoss { get; }
Property Value
Type | Description |
---|---|
double? |
RegionId
Contains the ID of the QoS region this result belongs to.
Declaration
[Preserve]
[DataMember(Name = "regionId", IsRequired = true, EmitDefaultValue = true)]
public string RegionId { get; }
Property Value
Type | Description |
---|---|
string |