Room Member Left¶
This notification is sent when a room member left a room.
Sent JSON includes the following:
JSON Key |
Type |
Description |
---|---|---|
roomId |
Number |
Room ID |
node |
Object |
Sender node information |
|
String |
Node UID |
|
String |
Host |
|
Number |
Port |
|
String |
Protocol |
|
Number |
Node type |
|
Object |
Custom property map containing any key-value pairs |
|
Object |
Custom property map containing any key-value pairs for inter-server processing |
member |
Object |
Room member information of the joined member |
|
String |
Class name of the room member |
|
String |
Room member UID |
|
Number |
Room member ID |
|
Number |
Room ID |
|
String |
Room member name |
|
Object |
Custom property map containing any key-value pairs |
roomMemberCount |
Number |
Current number of room members |
Example JSON
{
"roomId": 2,
"node": {
"uid": "[ServerUID:1]",
"host": "192.0.2.100",
"port": 9123,
"protocol": "TCP",
"type": 1,
"properties": {},
"internalProperties": {}
},
"member": {
"@class": "jp.co.soft_gear.strix.server.match.room.model.CustomizableMatchRoomMember",
"uid": "[ChildUID:1-2]",
"primaryKey": 2,
"roomId": 2,
"name": "Alice",
"properties": {
"equipments": [
1,
5,
7,
8,
12
],
"rank": 5,
"userId": 1,
"email": "alice@example.com"
}
},
"roomMemberCount": 1
}