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
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 |
---|---|
Task | An awaitable task. |
UnsubscribeAsync()
Unsubscribes from the events for the lobby associated with this lobby events.
Declaration
Task UnsubscribeAsync()
Returns
Type | Description |
---|---|
Task | An awaitable task. |