v1.2.1
Latest
2020.3+

Interface ILobbyEvents

An interface for managing a lobby events subscription and the callbacks associated with it.

Namespace: Unity.Services.Lobbies
Syntax
public interface ILobbyEvents

Properties

Callbacks

The callbacks associated with the lobby events subscription.

Declaration
LobbyEventCallbacks Callbacks { get; }
Property Value
TypeDescription
LobbyEventCallbacks

Methods

SubscribeAsync()

Subscribes or re-subscribes to the events for the lobby associated with this lobby events.

Declaration
Task SubscribeAsync()
Returns
TypeDescription
Task

An awaitable task.

UnsubscribeAsync()

Unsubscribes from the events for the lobby associated with this lobby events.

Declaration
Task UnsubscribeAsync()
Returns
TypeDescription
Task

An awaitable task.