Class BackfillTicket
BackfillTicket
Inherited Members
Namespace: Unity.Services.Apis.Matchmaker
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "BackfillTicket")]
[Preserve]
public class BackfillTicket
Constructors
BackfillTicket(string, string, Dictionary<string, object>, Dictionary<string, byte[]>)
Initializes a new instance of the Backfill
Declaration
[Preserve]
public BackfillTicket(string id = null, string connection = null, Dictionary<string, object> attributes = null, Dictionary<string, byte[]> properties = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | Backfill ticket ID.. |
string | connection | The IP address and port of the server that creates the backfill. The IP address format is ip:port.. |
Dictionary<string, object> | attributes | An object that holds a dictionary of attributes (number or string), indexed by the attribute name. The attributes are compared against the corresponding filters defined in the matchmaking config and used to segment the ticket population into pools. The default pool is used if a pool isn't provided.. |
Dictionary<string, byte[]> | properties | An object that will contain the data representing a Backfill Ticket. The information about the backfill ticket properties is stored in the |
Properties
Attributes
An object that holds a dictionary of attributes (number or string), indexed by the attribute name. The attributes are compared against the corresponding filters defined in the matchmaking config and used to segment the ticket population into pools. The default pool is used if a pool isn't provided.
Declaration
[DataMember(Name = "attributes", EmitDefaultValue = true)]
[Preserve]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | An object that holds a dictionary of attributes (number or string), indexed by the attribute name. The attributes are compared against the corresponding filters defined in the matchmaking config and used to segment the ticket population into pools. The default pool is used if a pool isn't provided. |
Connection
The IP address and port of the server that creates the backfill. The IP address format is ip:port.
Declaration
[DataMember(Name = "connection", EmitDefaultValue = true)]
[Preserve]
public string Connection { get; set; }
Property Value
Type | Description |
---|---|
string | The IP address and port of the server that creates the backfill. The IP address format is ip:port. |
Id
Backfill ticket ID.
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Backfill ticket ID. |
Properties
An object that will contain the data representing a Backfill Ticket. The information about the backfill ticket properties is stored in the Data
property of that object. Backfill Ticket Properties is serialized in base64 (with padding).
Declaration
[DataMember(Name = "properties", EmitDefaultValue = true)]
[Preserve]
public Dictionary<string, byte[]> Properties { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, byte[]> | An object that will contain the data representing a Backfill Ticket. The information about the backfill ticket properties is stored in the |