v1.0.0
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 ILobbyEventsProperties
Callbacks
The callbacks associated with the lobby events subscription.
Declaration
LobbyEventCallbacks Callbacks { get; }Property Value
| Type | Description |
|---|---|
| LobbyEventCallbacks |
Methods
SubscribeAsync()
Subscribes or re-subscribes to the events for the lobby associated with this lobby events.
Declaration
Task SubscribeAsync()Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | An awaitable task. |
UnsubscribeAsync()
Unsubscribes from the events for the lobby associated with this lobby events.
Declaration
Task UnsubscribeAsync()Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | An awaitable task. |