v1.0.0
Latest
2022.3+
Class CreateTicketOptions
Paramter class for making matchmaking ticket requests.
Inheritance
System.Object
CreateTicketOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|---|
System.String | queueName | Target queue this matchmaking ticket should attempt to join. (default null) |
System.Collections.Generic.Dictionary<System.String, System.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 |
---|---|
System.Collections.Generic.Dictionary<System.String, System.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 |
---|---|
System.String |