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