Skip to main content
Version: 5.7.0

SysMemberLeft

Informs brainCloud that the specified user has left the specified lobby.

ServiceOperation
lobbySYS_MEMBER_LEFT

Method Parameters

ParameterDescription
lobbyIdThe id of lobby that should be returned to the 'setup' state
cxIdRTT connection id of specified member to be removed from the lobby
reasonOptional reason for the member leaving. Can be one of 'LEFT_BY_CHOICE', 'EVICTED', or 'LOST_CONNECTION'
newOwnerCxIdOptional RTT connection id of another lobby member to be made owner of the lobby if the member leaving is the current owner

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab