docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomConnectionDetails

    CustomConnectionDetails model

    Inheritance
    object
    CustomConnectionDetails
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Matchmaker.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "CustomConnectionDetails")]
    public class CustomConnectionDetails

    Constructors

    CustomConnectionDetails(string, Dictionary<string, object>)

    Creates an instance of CustomConnectionDetails.

    Declaration
    [Preserve]
    public CustomConnectionDetails(string type, Dictionary<string, object> customData = null)
    Parameters
    Type Name Description
    string type

    type param

    Dictionary<string, object> customData

    customData param

    Properties

    CustomData

    Parameter customData of CustomConnectionDetails

    Declaration
    [Preserve]
    [JsonConverter(typeof(JsonObjectCollectionConverter))]
    [DataMember(Name = "customData", EmitDefaultValue = false)]
    public Dictionary<string, IDeserializable> CustomData { get; }
    Property Value
    Type Description
    Dictionary<string, IDeserializable>

    Type

    Parameter type of CustomConnectionDetails

    Declaration
    [Preserve]
    [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
    public string Type { get; }
    Property Value
    Type Description
    string
    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)