v1.0.0
Latest
2022.3+
Class MultiplayAssignment
MultiplayAssignment model
Inheritance
System.Object
MultiplayAssignment
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 MultiplayAssignment
Constructors
MultiplayAssignment(String, String, MultiplayAssignment.StatusOptions, String, Nullable<Int32>, String)
Creates an instance of MultiplayAssignment.
Declaration
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 |
---|---|---|
System.String | assignmentType | assignmentType param |
System.String | message | message param |
MultiplayAssignment.StatusOptions | status | The status of the assignment is one of Timeout, Failed, InProgress, Found |
System.String | ip | ip param |
System.Nullable<System.Int32> | port | port param |
System.String | matchId | Unique ID of the match. |
Properties
AssignmentType
Parameter assignmentType of MultiplayAssignment
Declaration
public string AssignmentType { get; }
Property Value
Type | Description |
---|---|
System.String |
Ip
Parameter ip of MultiplayAssignment
Declaration
public string Ip { get; }
Property Value
Type | Description |
---|---|
System.String |
MatchId
Unique ID of the match.
Declaration
public string MatchId { get; }
Property Value
Type | Description |
---|---|
System.String |
Message
Parameter message of MultiplayAssignment
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Port
Parameter port of MultiplayAssignment
Declaration
public int? Port { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Status
The status of the assignment is one of Timeout, Failed, InProgress, Found
Declaration
public MultiplayAssignment.StatusOptions Status { get; }
Property Value
Type | Description |
---|---|
MultiplayAssignment.StatusOptions |