Class MultiplayAssignment
MultiplayAssignment model
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Syntax
[Preserve]
public class MultiplayAssignment
Constructors
MultiplayAssignment(String, String, MultiplayAssignment.StatusOptions, String, Nullable<Int32>, String)
Creates an instance of MultiplayAssignment.
Declaration
[Preserve]
public MultiplayAssignment(string assignmentType, string message = null, MultiplayAssignment.StatusOptions status = (MultiplayAssignment.StatusOptions)0, string ip = null, int? port = null, string matchId = null)
Parameters
Type | Name | Description |
---|---|---|
String | assignmentType | assignmentType param |
String | message | message param |
MultiplayAssignment.StatusOptions | status | The status of the assignment is one of Timeout, Failed, InProgress, Found |
String | ip | ip param |
Nullable<Int32> | port | port param |
String | matchId | Unique ID of the match. |
Properties
AssignmentType
Parameter assignmentType of MultiplayAssignment
Declaration
[Preserve]
public string AssignmentType { get; }
Property Value
Type | Description |
---|---|
String |
Ip
Parameter ip of MultiplayAssignment
Declaration
[Preserve]
public string Ip { get; }
Property Value
Type | Description |
---|---|
String |
MatchId
Unique ID of the match.
Declaration
[Preserve]
public string MatchId { get; }
Property Value
Type | Description |
---|---|
String |
Message
Parameter message of MultiplayAssignment
Declaration
[Preserve]
public string Message { get; }
Property Value
Type | Description |
---|---|
String |
Port
Parameter port of MultiplayAssignment
Declaration
[Preserve]
public int? Port { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Status
The status of the assignment is one of Timeout, Failed, InProgress, Found
Declaration
[Preserve]
public MultiplayAssignment.StatusOptions Status { get; }
Property Value
Type | Description |
---|---|
MultiplayAssignment.StatusOptions |