TABLE

Name

TABLE --  List entry containing one table

Synopsis

<TABLE ID="id" GAME="game" STATUS="status" SEATS="seats"> <DESC>desc</DESC> <SEAT NUM="num" TYPE="type">player</SEAT> ... </TABLE>
DataTypeExample
IDint0
GAMEint0
STATUSint1
SEATSint2
DESCstringAn empty table
NUMint0
TYPEstringplayer
PLAYERstringGrubby

Description

The TABLE tag describes one table with all its properties

Message Data

ID

Unique identifier of this table in this room

GAME

Associated game. Only used in updates with action 'add'.

STATUS

Current status of the table. Only used within updates with action 'status' or 'add'.

SEATS

Number of seats on this table.

DESC

Description of the table. Only sent when table is being added to the list, i.e. in updates with action 'add'.

NUM

Number of a seat.

TYPE

Type of a seat, which can be 'open', 'player', 'reserved' or 'bot'.

PLAYER

Player name in case the type is either 'player' or 'reserved'.


Usage

TABLE tags are sent in a list from the server to the client in response to LIST when LIST is of type 'table', and in UPDATE tags of type 'table'.