/// <summary> /// Sends a packet to the client. /// </summary> /// <param name="packet">the packet to send</param> public void Send(AuthPacketOut packet) { var pkt = packet.GetFinalizedPacket(); Console.WriteLine("S -> C: " + packet.PacketId); //Console.WriteLine(WCellUtil.ToHex(packet.PacketId, pkt, 0, pkt.Length)); Send(pkt); }