docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomAssignment

    CustomAssignment model

    Inheritance
    object
    CustomAssignment
    Namespace: Unity.Services.Matchmaker.Models
    Assembly: solution.dll
    Syntax
    public class CustomAssignment

    Constructors

    CustomAssignment(string, string, StatusOptions, string, Dictionary<string, object>)

    Creates an instance of CustomAssignment.

    Declaration
    public CustomAssignment(string assignmentType, string message = null, CustomAssignment.StatusOptions status = (CustomAssignment.StatusOptions)0, string matchId = null, Dictionary<string, object> customData = null)
    Parameters
    Type Name Description
    string assignmentType

    assignmentType param

    string message

    message param

    CustomAssignment.StatusOptions status

    The status of the assignment is one of Timeout, Failed, InProgress, Found

    string matchId

    Unique ID of the match.

    Dictionary<string, object> customData

    Custom data containing all connection information. This is the primary connection mechanism for custom assignments.

    Properties

    AssignmentType

    Parameter assignmentType of CustomAssignment

    Declaration
    public string AssignmentType { get; }
    Property Value
    Type Description
    string

    CustomData

    Custom data containing all connection information. This is the primary connection mechanism for custom assignments.

    Declaration
    public Dictionary<string, IDeserializable> CustomData { get; }
    Property Value
    Type Description
    Dictionary<string, IDeserializable>

    MatchId

    Unique ID of the match.

    Declaration
    public string MatchId { get; }
    Property Value
    Type Description
    string

    Message

    Parameter message of CustomAssignment

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string

    Status

    The status of the assignment is one of Timeout, Failed, InProgress, Found

    Declaration
    public CustomAssignment.StatusOptions Status { get; }
    Property Value
    Type Description
    CustomAssignment.StatusOptions
    In This Article
    Back to top
    Copyright © 2026 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)