docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultiplayAssignment

    MultiplayAssignment

    Inheritance
    object
    MultiplayAssignment
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)