LEAVE

Name

LEAVE --  Message to indicate you've left a table

Synopsis

<LEAVE REASON='reason' PLAYER='player'/>
REASONstringnormal
PLAYERplayerjdorje

Description

Tells the client that they have left a table. This may be initiated by the player sending the server a LEAVE request, by the game server exiting when the game is over, by the player being booted from the table, or by the game server aborting. In any of the cases the client should make sure the game client exits normally.

Message Data

REASON

The reason the player left the table, currently one of "normal", "boot", "gameover", or "gameerror".

PLAYER

The name of the (remote) player responsible for the leave. This is currently only provided for the "boot" leave, where it gives the name of the player who initiated the boot.

Usage

LEAVE is sent from the server to the client to tell of a table leave. The client should take any necessary actions.