Method RemovePlayerAsync
RemovePlayerAsync(string, string)
Remove a player from a specified Lobby. Async operation.
Declaration
Task RemovePlayerAsync(string lobbyId, string playerId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | lobbyId | Target Lobby ID to remove player from |
| string | playerId | Player ID to remove |
Returns
| Type | Description |
|---|---|
| Task | Awaitable task |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | |
| LobbyServiceException |