Start Room

Overview

Starts the local player's room.

Only the room owners can start their rooms.

Methods

StartRoom(Action<bool, SWLobbyError>)

Called by room owners to begin an asynchronous operation to start their rooms.

Class

SWLobbyError

The error that occurred when a lobby API operation failed.

Example

NetworkClient.Lobby.StartRoom((successful, error) =>{
if (successful) {
Debug.Log("Started room.");
}
else {
Debug.Log("Failed to start room " + error);
}
});