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

  • 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": 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
}