docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateTicketOptions

    Paramter class for making matchmaking ticket requests.

    Inheritance
    object
    CreateTicketOptions
    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
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class CreateTicketOptions

    Constructors

    CreateTicketOptions(string, Dictionary<string, object>)

    Parameterized constructor

    Declaration
    public CreateTicketOptions(string queueName = null, Dictionary<string, object> attributes = null)
    Parameters
    Type Name Description
    string queueName

    Target queue this matchmaking ticket should attempt to join. (default null)

    Dictionary<string, object> attributes

    Attributes / filters for determining pool to allocate. (default null)

    Properties

    Attributes

    Attributes / filters for determining pool to allocate.

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

    QueueName

    Target queue this matchmaking ticket should attempt to join. Note: If a default queue is not defined in the matchmaking configuration, this field is required.

    Declaration
    public string QueueName { get; set; }
    Property Value
    Type Description
    string
    In This Article
    • Constructors
      • CreateTicketOptions(string, Dictionary<string, object>)
    • Properties
      • Attributes
      • QueueName
    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)