Class MatchProperties
MatchProperties model
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Assembly: Unity.Services.Matchmaker.dll
Syntax
[Preserve]
[DataContract(Name = "MatchProperties")]
public class MatchProperties
Constructors
MatchProperties(List<Team>, List<Player>, string, string)
Creates an instance of MatchProperties.
Declaration
[Preserve]
public MatchProperties(List<Team> teams = null, List<Player> players = null, string region = null, string backfillTicketId = null)
Parameters
Type | Name | Description |
---|---|---|
List<Team> | teams | The list of teams in the match. |
List<Player> | players | The list of players in the match. |
string | region | The region where the server is allocated. |
string | backfillTicketId | The unique ID of the backfill ticket. |
Properties
BackfillTicketId
The unique ID of the backfill ticket.
Declaration
[Preserve]
[DataMember(Name = "backfillTicketId", EmitDefaultValue = false)]
public string BackfillTicketId { get; }
Property Value
Type | Description |
---|---|
string |
Players
The list of players in the match.
Declaration
[Preserve]
[DataMember(Name = "players", EmitDefaultValue = false)]
public List<Player> Players { get; }
Property Value
Type | Description |
---|---|
List<Player> |
Region
The region where the server is allocated.
Declaration
[Preserve]
[DataMember(Name = "region", EmitDefaultValue = false)]
public string Region { get; }
Property Value
Type | Description |
---|---|
string |
Teams
The list of teams in the match.
Declaration
[Preserve]
[DataMember(Name = "teams", EmitDefaultValue = false)]
public List<Team> Teams { get; }
Property Value
Type | Description |
---|---|
List<Team> |