docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateTicketRequest

    CreateTicketRequest

    Inheritance
    object
    CreateTicketRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Matchmaker
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class CreateTicketRequest

    Constructors

    CreateTicketRequest(string, Dictionary<string, object>, List<Player>)

    Initializes a new instance of the CreateTicketRequest class.

    Declaration
    [Preserve]
    public CreateTicketRequest(string queueName = null, Dictionary<string, object> attributes = null, List<Player> players = null)
    Parameters
    Type Name Description
    string queueName

    A logical grouping of tickets, where tickets get considered for matchmaking together. Has to match one of the queue names in the matchmaking config. If not provided, the default queue will be used..

    Dictionary<string, object> attributes

    An object that holds a dictionary of attributes (number or string), indexed by the attribute name. The attributes are compared against the corresponding filters defined in the matchmaking config and used to segment the ticket population into pools. The default pool is used if a pool isn't provided..

    List<Player> players

    A list of players. (required).

    Properties

    Attributes

    An object that holds a dictionary of attributes (number or string), indexed by the attribute name. The attributes are compared against the corresponding filters defined in the matchmaking config and used to segment the ticket population into pools. The default pool is used if a pool isn't provided.

    Declaration
    [Preserve]
    public Dictionary<string, object> Attributes { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    An object that holds a dictionary of attributes (number or string), indexed by the attribute name. The attributes are compared against the corresponding filters defined in the matchmaking config and used to segment the ticket population into pools. The default pool is used if a pool isn't provided.

    Players

    A list of players.

    Declaration
    [Preserve]
    public List<Player> Players { get; set; }
    Property Value
    Type Description
    List<Player>

    A list of players.

    QueueName

    A logical grouping of tickets, where tickets get considered for matchmaking together. Has to match one of the queue names in the matchmaking config. If not provided, the default queue will be used.

    Declaration
    [Preserve]
    public string QueueName { get; set; }
    Property Value
    Type Description
    string

    A logical grouping of tickets, where tickets get considered for matchmaking together. Has to match one of the queue names in the matchmaking config. If not provided, the default queue will be used.

    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)