Class StoredMatchProperties
StoredMatchProperties model
Inheritance
object
StoredMatchProperties
Namespace: Unity.Services.Matchmaker.Models
Assembly: solution.dll
Syntax
public class StoredMatchProperties
Constructors
StoredMatchProperties(List<Team>, List<Player>, string, string, int)
Creates an instance of StoredMatchProperties.
Declaration
public StoredMatchProperties(List<Team> teams = null, List<Player> players = null, string region = null, string backfillTicketId = null, int maxPlayers = 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. |
| int | maxPlayers | The maximum number of players in the match, calculated from user-configured match logic. |
Properties
BackfillTicketId
The unique ID of the backfill ticket.
Declaration
public string BackfillTicketId { get; }
Property Value
| Type | Description |
|---|---|
| string |
MaxPlayers
The maximum number of players in the match, calculated from user-configured match logic.
Declaration
public int MaxPlayers { get; }
Property Value
| Type | Description |
|---|---|
| int |
Players
The list of players in the match.
Declaration
public List<Player> Players { get; }
Property Value
| Type | Description |
|---|---|
| List<Player> |
Region
The region where the server is allocated.
Declaration
public string Region { get; }
Property Value
| Type | Description |
|---|---|
| string |
Teams
The list of teams in the match.
Declaration
public List<Team> Teams { get; }
Property Value
| Type | Description |
|---|---|
| List<Team> |