mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
implement chat messages
This commit is contained in:
@@ -111,6 +111,13 @@ void handlePacket (int client_fd, int length, int packet_id) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x08:
|
||||
if (state == STATE_PLAY) {
|
||||
cs_chat(client_fd);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x0B:
|
||||
if (state == STATE_PLAY) {
|
||||
if (cs_clientStatus(client_fd)) break;
|
||||
|
Reference in New Issue
Block a user