v1.0.0
Latest
2022.3+

Class MatchIdAssignment

MatchIdAssignment model

Inheritance
System.Object
MatchIdAssignment
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.Models
Syntax
public class MatchIdAssignment

Constructors

MatchIdAssignment(String, String, MatchIdAssignment.StatusOptions, String)

Creates an instance of MatchIdAssignment.

Declaration
public MatchIdAssignment(string assignmentType, string message = null, MatchIdAssignment.StatusOptions status = (MatchIdAssignment.StatusOptions)0, string matchId = null)
Parameters
TypeNameDescription
System.StringassignmentType

assignmentType param

System.Stringmessage

message param

MatchIdAssignment.StatusOptionsstatus

The status of the assignment is one of Timeout, Failed, InProgress, Found

System.StringmatchId

Unique ID of the match.

Properties

AssignmentType

Parameter assignmentType of MatchIdAssignment

Declaration
public string AssignmentType { get; }
Property Value
TypeDescription
System.String

MatchId

Unique ID of the match.

Declaration
public string MatchId { get; }
Property Value
TypeDescription
System.String

Message

Parameter message of MatchIdAssignment

Declaration
public string Message { get; }
Property Value
TypeDescription
System.String

Status

The status of the assignment is one of Timeout, Failed, InProgress, Found

Declaration
public MatchIdAssignment.StatusOptions Status { get; }
Property Value
TypeDescription
MatchIdAssignment.StatusOptions