docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IpPortConnectionDetails

    IpPortConnectionDetails model

    Inheritance
    object
    IpPortConnectionDetails
    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 = "IpPortConnectionDetails")]
    public class IpPortConnectionDetails

    Constructors

    IpPortConnectionDetails(string, string, int, Dictionary<string, object>)

    Creates an instance of IpPortConnectionDetails.

    Declaration
    [Preserve]
    public IpPortConnectionDetails(string type, string ip = null, int port = 0, Dictionary<string, object> customData = null)
    Parameters
    Type Name Description
    string type

    type param

    string ip

    ip param

    int port

    port param

    Dictionary<string, object> customData

    customData param

    Properties

    CustomData

    Parameter customData of IpPortConnectionDetails

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

    Ip

    Parameter ip of IpPortConnectionDetails

    Declaration
    [Preserve]
    [DataMember(Name = "ip", EmitDefaultValue = false)]
    public string Ip { get; }
    Property Value
    Type Description
    string

    Port

    Parameter port of IpPortConnectionDetails

    Declaration
    [Preserve]
    [DataMember(Name = "port", EmitDefaultValue = false)]
    public int Port { get; }
    Property Value
    Type Description
    int

    Type

    Parameter type of IpPortConnectionDetails

    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)