SysUpdateSettings
Updates the settings for the given lobby instance.
Service | Operation |
---|---|
lobby | SYS_UPDATE_SETTINGS |
Method Parameters
Parameter | Description |
---|---|
lobbyId | Id of the specified lobby. |
settings | Configuration data for the room. |
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 settings = {};
var lobbyProxy = bridge.getLobbyServiceProxy();
var postResult = lobbyProxy.sysUpdateSettings(lobbyId, settings);
{
"service":"lobby",
"operation":"SYS_UPDATE_SETTINGS",
"data":{
"lobbyId":"55555:4v4:19",
"settings":{}
}
}
JSON Response
{
"status": 200,
"data": {}
}