Пример #1
0
 public override void SendAsync(NetPacket packet)
 {
     packet.IsArcheAgePacket = true;
     base.SendAsync(packet);
 }
Пример #2
0
 /// <summary>
 /// Adds Packet To Queue And After Send It.
 /// </summary>
 /// <param name="packet"></param>
 public virtual void SendAsync(NetPacket packet)
 {
     if (CoalesceSleep != -1)
         Thread.Sleep(CoalesceSleep);
     m_PacketQueue.Enqueue(packet);
     m_AsyncSend_Do();
 }