SysDisbandLobby
Disbands the given lobby. msg
and details
are optional values.
Service | Operation |
---|---|
lobby | SYS_DISBAND_LOBBY |
Method Parameters
Parameter | Description |
---|---|
lobbyId | The id of lobby that this room server is associated with. |
msg | Optional message to send to lobby members. |
details | Optional data to send to lobby members. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var lobbyId = "55555:4v4:19";
var msg = "Server going down for maintenance";
var details = {};
var lobbyProxy = bridge.getLobbyServiceProxy();
var postResult = lobbyProxy.sysDisbandLobby(lobbyId, msg, details);
if (postResult.status == 200) {
// Success!
}
{
"service": "lobby",
"operation": "SYS_DISBAND_LOBBY",
"data": {
"lobbyId": "55555:4v4:19",
"msg": "Server going down for maintenance",
"details": {}
}
}