public Client(TcpClientIdentifier tcpID, Tcp.TcpClient tcpClient) { this.tcpID = tcpID; this.tcpClient = tcpClient; this.tcpClient.CustomHeaderSize = GetCustomPacketHeaderSize(); this.packetModifiers = new PacketModifiers(); //database = new MySql("localhost", 3306, "test", "root", "test"); #if EVENTTHREAD eventThread = new PlayerEventThread(this); #endif AddEventHandlers(); SetupPacketSecurity(); }