public ShipRecoveryType IsUseRecoverySlotitem(int ship_tmp_id, bool is_day)
 {
     if (is_day)
     {
         if (this._battleData.DayBattle == null || !this.GetCommandPhaseModel().IsTakeCommand())
         {
             return(ShipRecoveryType.None);
         }
         ShipModel_BattleAll ship = this.GetShip(ship_tmp_id);
         if (ship == null)
         {
             return(ShipRecoveryType.None);
         }
         return(ship.IsUseRecoverySlotitemAtFirstCombat());
     }
     else
     {
         if (this._battleData.NightBattle == null)
         {
             return(ShipRecoveryType.None);
         }
         ShipModel_BattleAll ship2 = this.GetShip(ship_tmp_id);
         if (ship2 == null)
         {
             return(ShipRecoveryType.None);
         }
         if (this._battleData.DayBattle == null)
         {
             return(ship2.IsUseRecoverySlotitemAtFirstCombat());
         }
         return(ship2.IsUseRecoverySlotitemAtSecondCombat());
     }
 }