Class MatchIdAssignment
MatchIdAssignment
Inherited Members
Namespace: Unity.Services.Apis.Matchmaker
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "MatchIdAssignment")]
[Preserve]
public class MatchIdAssignment
Constructors
MatchIdAssignment(string, string, StatusEnum?, string)
Initializes a new instance of the Match
Declaration
[Preserve]
public MatchIdAssignment(string assignmentType = null, string message = null, MatchIdAssignment.StatusEnum? status = null, string matchId = null)
Parameters
Type | Name | Description |
---|---|---|
string | assignmentType | assignmentType (required). |
string | message | message. |
Match |
status | The status of the assignment is one of Timeout, Failed, InProgress, Found. |
string | matchId | Unique ID of the match.. |
Properties
AssignmentType
Gets or Sets AssignmentType
Declaration
[DataMember(Name = "assignmentType", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string AssignmentType { get; set; }
Property Value
Type | Description |
---|---|
string |
MatchId
Unique ID of the match.
Declaration
[DataMember(Name = "matchId", EmitDefaultValue = true)]
[Preserve]
public string MatchId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique ID of the match. |
Message
Gets or Sets Message
Declaration
[DataMember(Name = "message", EmitDefaultValue = true)]
[Preserve]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The status of the assignment is one of Timeout, Failed, InProgress, Found
Declaration
[DataMember(Name = "status", EmitDefaultValue = false)]
[Preserve]
public MatchIdAssignment.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
Match |
The status of the assignment is one of Timeout, Failed, InProgress, Found |