SysRoomCancelled
Tells the lobby system that creation of the room experience failed.
Service | Operation |
---|---|
lobby | SYS_ROOM_CANCELLED |
Method Parameters
Parameter | Description |
---|---|
lobbyId | The id of lobby that this room server is associated with |
connectInfo | Info the clients will use to connect to the room server |
details | Optional data to send to room members. |
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 msg = "Server going down for maintenance";
var details = {};
var lobbyProxy = bridge.getLobbyServiceProxy();
var postResult = lobbyProxy.sysRoomCancelled(lobbyId, msg, details);
if (postResult.status == 200) {
// Success!
}
{
"service": "lobby",
"operation": "SYS_ROOM_CANCELLED",
"data": {
"lobbyId": "55555:4v4:19",
"msg": "Server going down for maintenance",
"details": {}
}
}
JSON Response
{
"status": 200,
"data": {}
}
Common Error Code
Status Codes
Code | Name | Description |
---|---|---|
40601 | RTT_NOT_ENABLED | RTT must be enabled for this feature |