GGZ Gaming Zone Design Specification | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
What fun would playing games be if you can't taunt your opponents or laugh with your friends? Similar to the "Taunt" feature provided with NetSpades, the GGZ server provides the ability to send messages to other players via the server. The following interactions describe how this messaging is accomplished.
When a player wishes to send a chat message, the client should send a CHAT. Different types of chat messages are distinguished by the chat sub-opcodes The server will respond with the status of the chat operation via CHAT
When a player receives a chat message from another player, the server will send CHAT to the client. The chat sub-opcodes distinguish between the various chat operations
Sub-opcodes for chat messages are as follows:
GGZ_CHAT_NORMAL signifies a "typical" chat message which is sent to all players in the current room.
GGZ_CHAT_BEEP is a special message with no text content, which is sent to a specific player. A typical client response to the receipt of this message would be to emit a beep.
GGZ_CHAT_PERSONAL is a private message directed to a single player.
Warning |
To discourage cheating, private messages may not be sent or received while the player is at a game table. |