docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StoredMatchProperties

    StoredMatchProperties model

    Inheritance
    object
    StoredMatchProperties
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Matchmaker.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "StoredMatchProperties")]
    public class StoredMatchProperties

    Constructors

    StoredMatchProperties(List<Team>, List<Player>, string, string, int)

    Creates an instance of StoredMatchProperties.

    Declaration
    [Preserve]
    public StoredMatchProperties(List<Team> teams = null, List<Player> players = null, string region = null, string backfillTicketId = null, int maxPlayers = 0)
    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
    [Preserve]
    [DataMember(Name = "backfillTicketId", EmitDefaultValue = false)]
    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
    [Preserve]
    [DataMember(Name = "maxPlayers", EmitDefaultValue = false)]
    public int MaxPlayers { get; }
    Property Value
    Type Description
    int

    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>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)