docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JoinAllocationAllOf

    JoinAllocationAllOf model

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

    Constructors

    JoinAllocationAllOf(byte[])

    Creates an instance of JoinAllocationAllOf.

    Declaration
    [Preserve]
    public JoinAllocationAllOf(byte[] hostConnectionData)
    Parameters
    Type Name Description
    byte[] hostConnectionData

    A base64-encoded representation of an encrypted connection data blob describing the allocation and Relay server of the player who created the join code. Connecting players can use this data to establish communication with the host player.

    Properties

    HostConnectionData

    A base64-encoded representation of an encrypted connection data blob describing the allocation and Relay server of the player who created the join code. Connecting players can use this data to establish communication with the host player.

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