| 139 | }; |
| 140 | |
| 141 | Error GodotMonoDecompWrapper::decompile_module(const String &outputCSProjectPath, const Vector<String> &excludeFiles) { |
| 142 | int total_steps = GodotMonoDecomp_GetNumberOfFilesInFileMap(decompilerHandle); |
| 143 | auto taskData = std::make_shared<DecompileModuleTaskData>(outputCSProjectPath, excludeFiles, total_steps); |
| 144 | TaskManager::get_singleton()->run_task(taskData, this, "Decompiling C# scripts...", total_steps, true, true); |
| 145 | return taskData->err; |
| 146 | } |
| 147 | |
| 148 | String GodotMonoDecompWrapper::decompile_individual_file(const String &file) { |
| 149 | ERR_FAIL_COND_V_MSG(decompilerHandle == nullptr, "", "Decompiler handle is null"); |
no test coverage detected