docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JoinByIdRequest

    The body of a Join request

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

    Constructors

    JoinByIdRequest(string, Player)

    The body of a Join request

    Declaration
    [Preserve]
    public JoinByIdRequest(string password = null, Player player = null)
    Parameters
    Type Name Description
    string password

    The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied.

    Player player

    player param

    Properties

    Password

    The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied.

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

    Player

    Parameter player of JoinByIdRequest

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