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