SysRoomKeepAlive
Indicates that a room is still running and the associated lobby instance should be kept alive.
Service | Operation |
---|---|
lobby | SYS_ROOM_KEEP_ALIVE |
Method Parameters
Parameter | Description |
---|---|
lobbyId | The id of lobby that should be kept alive. |
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.SysRoomKeepAlive(lobbyId);
{
"service":"lobby",
"operation":"SYS_ROOM_KEEP_ALIVE",
"data":{
"lobbyId":"55555:4v4:19"
}
}
JSON Response
{
"status" : 200,
"data" : null
}