Room Member Joined¶
This notification is sent when a room member joined 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": 1,
"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-1]",
"primaryKey": 1,
"roomId": 1,
"name": "Alice",
"properties": {
"userId": 1
}
},
"roomMemberCount": 1
}