docs.unity3d.com
    Show / Hide Table of Contents

    Class JoinByCodeRequest

    Inheritance
    Object
    JoinByCodeRequest
    Namespace: Unity.Services.Lobbies.Models
    Syntax
    [Preserve]
    public class JoinByCodeRequest

    Constructors

    JoinByCodeRequest(String, Player)

    The body of a Join Lobby request using lobby code.

    Declaration
    [Preserve]
    public JoinByCodeRequest(string lobbyCode, Player player = null)
    Parameters
    Type Name Description
    String lobbyCode

    The lobby code of the lobby to join. Mutually exclusive with id. This is used to join a private lobby where the lobby code was shared to other users manually.

    Player player

    player param

    Properties

    LobbyCode

    The lobby code of the lobby to join. Mutually exclusive with id. This is used to join a private lobby where the lobby code was shared to other users manually.

    Declaration
    [Preserve]
    public string LobbyCode { get; }
    Property Value
    Type Description
    String

    Player

    Declaration
    [Preserve]
    public Player Player { get; }
    Property Value
    Type Description
    Player
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023