SysGetLobbyMember
Retrieves lobby membership details for the specified user.
Service | Operation |
---|---|
lobby | SYS_GET_LOBBY_MEMBER |
Method Parameters
Parameter | Description |
---|---|
lobbyId | Id of chosen lobby |
cxId | RTT connection id of a lobby member |
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 cxId = "55555:aaa-bbb-ccc-ddd:asdfjkl";
var lobbyProxy = bridge.getLobbyServiceProxy();
var postResult = lobbyProxy.sysGetLobbyMember(lobbyId, cxId);
if (postResult.status == 200) {
// Success!
}
{
"service": "lobby",
"operation": "SYS_GET_LOBBY_MEMBER",
"data": {
"lobbyId": "55555:4v4:19",
"cxId": "55555:aaa-bbb-ccc-ddd:asdfjkl"
}
}
JSON Response
{
"data": {
"profileId": "c394230e-53c0-4ba3-8eed-90963e58de9c",
"name": "",
"pic": "",
"rating": 1200,
"team": "all",
"isReady": true,
"extra": {},
"passcode": "8ebbd5",
"cxId": "13229:c394230e-53c0-4ba3-8eed-90963e58de9c:il6dpch4c8g4jm6p3o5vc85ssq"
},
"status": 200
}