GGZ Gaming Zone Design Specification | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
While the player is logged in, information about the server may change, espeically if that information pertains to the players or tables in a perticular room. Rather than insist that the client send a new list request periodically, the server will send update messages to the client:
If the the room list changes in any way, the server will send out a room UPDATE to each of the clients. Note that currently there is no mechanism to change the rooms on the fly, so this message will never occur. However, it is probable that this functionality will be added in the future.
If another player enters or leaves the room, the server will send an UPDATE of type 'player' to all of other players in that room. A player will never receive a player update about himself.
If the server's list of supported games types changes, it will send a game type UPDATE to each of the clients. Note that currently there is no mechanism to change game types on the fly, so this message will never occur. However, it is probable that this functionality will be added in the future.
Whenever the list of tables in a room changes, each player in the room will receive an UPDATE message of type 'player'. This will occur whenever a table is launched or destroyed, a player joins or leaves, or the table's state has changed.
Note: It should be noted that these messages are asynchronous, are are sent by the server automatically without having been requested by the client.