init, thx MrExtremez

This commit is contained in:
Nicola Paolucci
2019-06-18 15:04:35 -04:00
commit ea51313125
2488 changed files with 150207 additions and 0 deletions
@@ -0,0 +1,20 @@
package redone.net.packets.impl;
import redone.Server;
import redone.game.players.Client;
import redone.net.packets.PacketType;
import redone.util.Misc;
/**
* Chat
**/
public class ClanChat implements PacketType {
@Override
public void processPacket(Client c, int packetType, int packetSize) {
String textSent = Misc.longToPlayerName2(c.getInStream().readQWord());
textSent = textSent.replaceAll("_", " ");
// c.sendMessage(textSent);
Server.clanChat.handleClanChat(c, textSent);
}
}