Table of Contents

CloseLobby

Methods
public void CloseLobby(Action<RequestResponse<bool>> onRequestFinished)

Closes the Lobby, preventing new players from joining.

Parameters
Type Name Description
Action<RequestResponse<bool>> onRequestFinished

Callback that will be invoked when the request finished.

Remarks

Also invalidates every invite token minted for this Lobby.

See Also
CreateInviteTokenAsync(TimeSpan?, CancellationToken)