SysRemoveMember
Evicts the specified user from the specified lobby.
Service | Operation |
---|---|
lobby | SYS_REMOVE_MEMBER |
Method Parameters
Parameter | Description |
---|---|
lobbyId | Id of chosen lobby. |
cxId | RTT connection id of specified member to be removed from the lobby. |
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.sysRemoveMember(lobbyId, cxId);
{
"service":"lobby",
"operation":"SYS_REMOVE_MEMBER",
"data":{
"lobbyId":"55555:4v4:19",
"cxId":"55555:aaa-bbb-ccc-ddd:asdfjkl"
}
}
JSON Response
{
"status": 200,
"data": {}
}