LeaveReason
Why a player left, which onPlayerLeave receives: a game tells a
player who quit from one who lost the player’s connection.
Enumeration Members
Section titled “Enumeration Members”HoldEnded
Section titled “HoldEnded”HoldEnded:
"hold-ended"
The player’s connection dropped and did not come back within the hold.
Kicked
Section titled “Kicked”Kicked:
"kicked"
A game removed the player with kick.
Left:
"left"
The player’s page sent a leave: the player quit on purpose.
RoomClosing
Section titled “RoomClosing”RoomClosing:
"room-closing"
The room closed, for a restart, for good or on an error.