SysRoomReady
Indicates that a room is ready for use by the members.
Service | Operation |
---|---|
roomServer | SYS_ROOM_READY |
Method Parameters
Parameter | Description |
---|---|
brainCloudContext | Data provided by brainCloud when the server instance was launched. |
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 brainCloudContext = {
"scriptId": "my-script-id",
"scriptData": {
"abc": "xyz"
}
};
var roomServerProxy = bridge.getRoomserverServiceProxy();
var postResult = roomServerProxy.sysRoomReady(brainCloudContext);
{
"service":"roomServer",
"operation":"SYS_ROOM_READY",
"data":{
"brainCloudContext":{
"scriptId":"my-script-id",
"scriptData":{
"abc":"xyz"
}
}
}
}
JSON Response
{
"status" : 200,
"data" : {}
}