private void RemoveResendPacket(CoopPacket packet)
 {
     if (packet.packetType == PACKET_TYPE.ACK || packet.packetType == PACKET_TYPE.REGISTER_ACK || packet.packetType == PACKET_TYPE.PARTY_REGISTER_ACK || packet.packetType == PACKET_TYPE.LOUNGE_REGISTER_ACK)
     {
         Coop_Model_ACK coop_Model_ACK = packet.model as Coop_Model_ACK;
         if (coop_Model_ACK != null)
         {
             ResendPacket resendPacket = resendPackets.Get((uint)coop_Model_ACK.ack);
             if (resendPacket != null)
             {
                 bool flag = coop_Model_ACK.positive;
                 if (resendPacket.onReceiveAck != null)
                 {
                     flag = resendPacket.onReceiveAck(coop_Model_ACK);
                 }
                 if (flag)
                 {
                     LogDebug("Remove a packet from the resending queue: packet={0}, ack={1}", resendPacket.packet, coop_Model_ACK.ack);
                     resendPackets.Remove((uint)coop_Model_ACK.ack);
                 }
             }
         }
     }
 }
 public void Remove(StageObject obj)
 {
     opponentRecords.Remove((uint)obj.id);
 }