docs.unity.cn
    Show / Hide Table of Contents

    Class JoinByIdRequest

    The body of a Join request

    Inheritance
    Object
    JoinByIdRequest
    Namespace: Unity.Services.Lobbies.Models
    Syntax
    [Preserve]
    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]
    public string Password { get; }
    Property Value
    Type Description
    String

    Player

    Parameter player of JoinByIdRequest

    Declaration
    [Preserve]
    public Player Player { get; }
    Property Value
    Type Description
    Player
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 14, 2023