JOIN

Name

JOIN -- Client request to join a table

Synopsis

<JOIN TABLE="table" SPECTATOR="spectator">
DataTypeExample
TABLEint0
SPECTATORboolstringtrue
SEATint3

Description

Client request to join table

Message Data

TABLE

The identifier of the table the player wishes to join

SPECTATOR

Whether to join as spectator (when true) or not (when false or omitted).

SEAT

The seat number of the seat to join in. If the seat number is negative or not given, the first available seat will be joined.

Usage

JOIN is sent from client to the server to request a table join. The server will respond with RESULT telling us the success of the action. If the action was successful the client will also receive a JOIN, which we should act upon. If the join succeeds it is likely an UPDATE of type 'table' will also be necessary.