SysGetRoomMember
Used to retrieve the details of the given room member.
Service | Operation |
---|---|
roomServer | SYS_GET_ROOM_MEMBER |
Method Parameters
Parameter | Description |
---|---|
member | Member data used as input to a direct launch provider for validating the connection of a client. |
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 member = {
"cxId": "55555:abc:123"
};
var brainCloudContext = {
"scriptId": "my-script-id",
"scriptData": {
"abc": "xyz"
}
};
var roomServerProxy = bridge.getRoomserverServiceProxy();
var postResult = roomServerProxy.sysGetRoomMember(member, brainCloudContext);
{
"service":"roomServer",
"operation":"SYS_GET_ROOM_MEMBER",
"data":{
"member":{
"cxId":"55555:abc:123"
},
"brainCloudContext":{
"scriptId":"my-script-id",
"scriptData":{
"abc":"xyz"
}
}
}
}
JSON Response
{
"status" : 200,
"data" : {
"answer": "NaN"
}
}