v1.0.0
Latest
2022.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
System.Threading.Tasks.Task

An awaitable task.

UnsubscribeAsync()

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

Declaration
Task UnsubscribeAsync()
Returns
TypeDescription
System.Threading.Tasks.Task

An awaitable task.