C-chat
Public Attributes | List of all members
PacketText Class Reference

This packet is sent to all clients of a room when a client sends a message. More...

#include <packets.h>

Public Attributes

char type
 
char message [MSG_MAX_LENGTH+1]
 
char username [USERNAME_MAX_LENGTH+1]
 

Detailed Description

This packet is sent to all clients of a room when a client sends a message.

This message is also used to send a text message from client to server, but in this case the username part is ignored by the server.


The documentation for this class was generated from the following file: