Class QosResult
Quality of Service (QoS) result for a single region.
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Assembly: Unity.Services.Matchmaker.dll
Syntax
[Preserve]
[DataContract(Name = "QosResult")]
public class QosResult
Constructors
QosResult(string, double?, double?)
Quality of Service (QoS) result for a single region.
Declaration
[Preserve]
public QosResult(string regionId, double? packetLoss, double? latency)
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. |
Properties
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 |