docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LobbyEventCallbacks

    A class for you to provide the callbacks you want to be called from the lobby event subscription.

    Inheritance
    object
    LobbyEventCallbacks
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Global Namespace
    Assembly: solution.dll
    Syntax
    public class LobbyEventCallbacks

    Events

    Name Description
    DataAdded

    Event called when lobby data is added on the server.

    DataChanged

    Event called when lobby data changes on the server.

    DataRemoved

    Event called when lobby data is removed on the server. Does not cover when the whole data object is completely removed (eg. set to null) For this case, use the DataChanged event instead

    KickedFromLobby

    Event called when a kick has been received from the lobby event subscription.

    LobbyChanged

    Event called when a change has occurred to a lobby on the server.

    LobbyDeleted

    Event called when a lobby is deleted.

    LobbyEventConnectionStateChanged

    Event called when the connection state of the lobby event subscription changes.

    PlayerDataAdded

    Event called when player data is added on the server.

    PlayerDataChanged

    Event called when player data changes. The outer dictionary is indexed on player indices. The inner dictionary is indexed on the changed data key.

    PlayerDataRemoved

    Event called when player data is removed on the server. Does not cover when the whole data object is completely removed (eg. set to null) For this case, use the PlayerDataChanged event instead

    PlayerJoined

    Event called when a player join has occurred to a lobby on the server.

    PlayerLeft

    Event called when a player leave has occurred to a lobby on the server. (See ApplyPatchesToLobby(ILobbyChanges, Lobby)) The indices of the players who left.

    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)