Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
		/// <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);
		}