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

  • uid

String

Node UID

  • host

String

Host

  • port

Number

Port

  • protocol

String

Protocol

  • type

Number

Node type

  • properties

Object

Custom property map containing any key-value pairs

  • internalProperties

Object

Custom property map containing any key-value pairs for inter-server processing

member

Object

Room member information of the joined member

  • @class

String

Class name of the room member

  • uid

String

Room member UID

  • primaryKey

Number

Room member ID

  • roomId

Number

Room ID

  • name

String

Room member name

  • properties

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
}