This packet is sent to all clients of a room when a client sends a message.
Definition: packets.h:41
void handleTextMessageRelay(Client *client, struct PacketText *packet)
Processes a received PacketText.
Definition: communication.c:29
void syncBroadcastRoom(Packet *packet, Room *room)
Broadcast a packet to all clients of the given room with room-lock acquirement.
Definition: communication.c:25
void broadcastRoom(Packet *packet, Room *room)
Broadcast a packet to all clients of the given room.
Definition: communication.c:17