SysRoomStopped
Indicates that the gameplay for the room associated with the given lobby has completed. The lobby can be returned to the 'setup' state.
Service | Operation |
---|---|
lobby | SYS_ROOM_STOPPED |
Method Parameters
Parameter | Description |
---|---|
lobbyId | The id of lobby that should be returned to the 'setup' state |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var lobbyId = "55555:4v4:19";
var lobbyProxy = bridge.getLobbyServiceProxy();
var postResult = lobbyProxy.sysRoomStopped(lobbyId);
if (postResult.status == 200) {
// Success!
}
{
"service": "lobby",
"operation": "SYS_ROOM_STOPPED",
"data": {
"lobbyId": "55555:4v4:19"
}
}