Class CreateTicketOptions
Paramter class for making matchmaking ticket requests.
Inherited Members
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 |