Version: en
Contracts - Backfill
warning
This documentation is now deprecated. If you are using Matchmaker Self Serve though UDash, please use the documentation here.
#
BackfillTicketField | Description | Type |
---|---|---|
created | Unix time in miliseconds that the backfill ticket was created. | long |
recordVersion | Represents the latest version of the backfill ticket. This field is managed by the matchmaker. Match functions returning modified backfill tickets will not modify this field. | int |
connection | This is the "ip:port" of the server that tickets are assigned to. When allocation is complete, any ticket associated with this backfill ticket will be assigned this connection. | string |
id | The id of the backfill ticket, used for update/approve/delete operations | string |
attributes | These indexable fields are available to match functions as queryable fields for retrieving backfill tickets from the matchmaking pool. Match functions and DGS may update these to reflect the latest state of the ticket. This field is optional. | Dictionary<string, double> |
properties | Values in properties are available to match functions to serialize/deserialize and use in matchmaking logic. Match functions and DGS may update these to reflect the latest state of the server. In the preceding example, data contains a Base64-encoded string containing the BackfillDataContract object :TODO link to contract definition/sample This field is optional. | Dictionary<string, byte[]> |
#
BackfillData ContractWhen a matchmaking config has backfill enabled, matchmaking logic writes partial match data into a backfill ticket "data" property. This data has the following format, and DGS's must honor this format when updating backfill tickets.
Field | Description | Type |
---|---|---|
MatchProperties | The match properties list all teams and thier players. If the DGS wants to indicate a player was dropped, it must modify this object by removing the player from the team and also update the Players array, defined below. This is the same contract as MatchProperties Contract | object |
TeamDefinitions | This is the same contract as is used in the matchmaking config file. Team Definition Contract | object |
Players | This is the "ip:port" of the server that tickets are assigned to. When allocation is complete, any ticket associated with this backfill ticket will be assigned this connection. | string |
id | The id of the backfill ticket, used for update/approve/delete operations | string |
attributes | These indexable fields are available to match functions as queryable fields for retrieving backfill tickets from the matchmaking pool. Match functions and DGS may update these to reflect the latest state of the ticket. This field is optional. | Dictionary<string, double> |
properties | Values in properties are available to match functions to serialize/deserialize and use in matchmaking logic. Match functions and DGS may update these to reflect the latest state of the server. In the preceding example, data contains a Base64-encoded string containing the BackfillDataContract object :TODO link to contract definition/sample This field is optional. | Dictionary<string, byte[]> |
#
CreateBackfillTicketRequestField | Description | Type |
---|---|---|
connection | This is the "ip:port" of the server that tickets are assigned to. Match functions may observe this as a null value while a server is still being allocated. When allocation is complete, any ticket associated with this backfill ticket will be assigned this connection. | string |
attributes | These indexable fields are available to match functions as queryable fields for retrieving backfill tickets from the matchmaking pool. Match functions and DGS may update these to reflect the latest state of the ticket. This field is optional. | Dictionary<string, double> |
properties | Values in properties are available to match functions to serialize/deserialize and use in matchmaking logic. Match functions and DGS may update these to reflect the latest state of the server. In the preceding example, serverInfo contains a custom Base64-encoded string of:{ "PlayersNeeded" : 14, "SumOfSkill" : 2397, "CurrentPlayers" : 26} This field is optional. | Dictionary<string, byte[]> |
#
CreateBackfillTicketResponseField | Description | Type |
---|---|---|
Id | The id of the backfill ticket, used for update/approve/delete operations | object |