v1.0.0
Latest
2022.3+
Class StoredMatchProperties
StoredMatchProperties model
Inheritance
System.Object
StoredMatchProperties
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 StoredMatchProperties
Constructors
StoredMatchProperties(List<Team>, List<Player>, String, String, Int32)
Creates an instance of StoredMatchProperties.
Declaration
public StoredMatchProperties(List<Team> teams = null, List<Player> players = null, string region = null, string backfillTicketId = null, int maxPlayers = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Team> | teams | The list of teams in the match. |
System.Collections.Generic.List<Player> | players | The list of players in the match. |
System.String | region | The region where the server is allocated. |
System.String | backfillTicketId | The unique ID of the backfill ticket. |
System.Int32 | 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 |
---|---|
System.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 |
---|---|
System.Int32 |
Players
The list of players in the match.
Declaration
public List<Player> Players { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Player> |
Region
The region where the server is allocated.
Declaration
public string Region { get; }
Property Value
Type | Description |
---|---|
System.String |
Teams
The list of teams in the match.
Declaration
public List<Team> Teams { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Team> |