Class MultiplayAssignment
MultiplayAssignment
Inherited Members
Namespace: Unity.Services.Apis.Matchmaker
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "MultiplayAssignment")]
[Preserve]
public class MultiplayAssignment
Constructors
MultiplayAssignment(string, string, StatusEnum?, string, int?, string)
Initializes a new instance of the Multiplay
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. |
Multiplay |
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
[DataMember(Name = "assignmentType", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string AssignmentType { get; set; }
Property Value
Type | Description |
---|---|
string |
Ip
Gets or Sets Ip
Declaration
[DataMember(Name = "ip", EmitDefaultValue = true)]
[Preserve]
public string Ip { 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 |
Port
Gets or Sets Port
Declaration
[DataMember(Name = "port", EmitDefaultValue = true)]
[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
[DataMember(Name = "status", EmitDefaultValue = false)]
[Preserve]
public MultiplayAssignment.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
Multiplay |
The status of the assignment is one of Timeout, Failed, InProgress, Found |