private bool OnPacketReceived(Packet pkt)
 {
     if (parent.IsReady())
     {
         parent.Manager.Network.AddPendingPacket(parent, pkt);
         return(true);
     }
     return(false);
 }
Пример #2
0
 private bool OnPacketReceived(PacketID id, byte[] pkt)
 {
     if (!parent.IsReady())
     {
         return(false);
     }
     parent.Manager.Network.AddPendingPacket(parent, id, pkt);
     return(true);
 }
Пример #3
0
 private bool OnPacketReceived(Packet pkt)
 {
     if (parent.IsReady())
     {
         parent.ProcessPacket(pkt);
         return(true);
     }
     return(false);
 }
 private bool OnPacketReceived(Packet pkt)
 {
     //return parent.ProcessPacket(pkt);
     if (parent.IsReady())
     {
         RealmManager.Network.AddPendingPacket(parent, pkt);
         return(true);
     }
     else
     {
         return(false);
     }
 }