docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ILobbyChanges

    An interface providing a set of changes to apply to a lobby model.

    Namespace: Unity.Services.Lobbies
    Assembly: solution.dll
    Syntax
    public interface ILobbyChanges

    Properties

    Name Description
    AvailableSlots
    Data

    The changes to the lobby’s data, if it has changed.

    HasPassword

    The change for if HasPassword has changed.

    HostId

    The changes to the lobby’s host ID, if it has changed.

    IsLocked

    The change for if the lobby is locked, if it has changed.

    IsPrivate

    The change for if the lobby is private, if it has changed.

    LastUpdated

    The time the lobby changes occurred.

    LobbyDeleted

    Whether or not the lobby was deleted. True if the lobby was deleted. False if it is still available.

    MaxPlayers

    The change to the maximum number of players in the lobby, if it has changed.

    Name

    The change to the lobby’s name, if it has changed.

    PlayerData

    The changes to player’s data, if any have changed.

    PlayerJoined

    A list of players that have joined, if any.

    PlayerLeft

    A list of players that have left, if any.

    Version

    The changes to the lobby’s version, if it has changed.

    Methods

    Name Description
    ApplyToLobby(Lobby)

    Takes a lobby and a change applicator to update a given lobby in-place. If LobbyDeleted is true, no changes will be applied and a warning will be logged.

    In This Article
    Back to top
    Copyright © 2023 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)