docs.unity3d.com
    Show / Hide Table of Contents

    Class CreateLobbyOptions

    Optional parameter class for Lobby creation requests.

    Inheritance
    Object
    CreateLobbyOptions
    Namespace: Unity.Services.Lobbies
    Syntax
    public class CreateLobbyOptions

    Properties

    Data

    Custom game-specific properties that apply to the lobby (e.g. mapName or gameType).

    Declaration
    public Dictionary<string, DataObject> Data { get; set; }
    Property Value
    Type Description
    Dictionary<String, DataObject>

    IsPrivate

    Indicates whether or not the lobby is publicly visible and will show up in query results. If the lobby is not publicly visible, the creator can share the LobbyCode with other users who can use it to join this lobby. If left as null, a default value will be used.

    Declaration
    public bool? IsPrivate { get; set; }
    Property Value
    Type Description
    Nullable<Boolean>

    Player

    Information about a specific player creating the lobby.

    Declaration
    public Player Player { get; set; }
    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