v1.0.0
Latest
2022.3+
Class QosResult
Quality of Service (QoS) result for a single region.
Inheritance
System.Object
QosResult
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Matchmaker.Models
Syntax
public class QosResult
Constructors
QosResult(String, Nullable<Double>, Nullable<Double>, Dictionary<String, List<String>>)
Quality of Service (QoS) result for a single region.
Declaration
public QosResult(string regionId, double? packetLoss, double? latency, Dictionary<string, List<string>> annotations = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | regionId | Contains the ID of the QoS region this result belongs to. |
System.Nullable<System.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). |
System.Nullable<System.Double> | latency | The Latency for this QoS region. |
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>> | annotations | A dictionary of server annotations. |
Properties
Annotations
A dictionary of server annotations.
Declaration
public Dictionary<string, List<string>> Annotations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>> |
Latency
The Latency for this QoS region.
Declaration
public double? Latency { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.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
public double? PacketLoss { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
RegionId
Contains the ID of the QoS region this result belongs to.
Declaration
public string RegionId { get; }
Property Value
Type | Description |
---|---|
System.String |