| 490 | } |
| 491 | |
| 492 | Vector<Ref<GDScriptDecomp>> BytecodeTester::get_possible_decomps(Vector<String> bytecode_files, bool include_dev, bool print_verbosely) { |
| 493 | int bytecode_version = get_bytecode_version(bytecode_files); |
| 494 | ERR_FAIL_COND_V_MSG(bytecode_version == -1, {}, "Inconsistent bytecode versions across files!!!"); |
| 495 | ERR_FAIL_COND_V_MSG(bytecode_version <= 0, {}, "Could not read bytecode version from files."); |
| 496 | auto decomps = GDScriptDecompVersion::get_decomps_for_bytecode_ver(bytecode_version, include_dev); |
| 497 | return get_possibles_from_set(bytecode_files, decomps, print_verbosely); |
| 498 | } |
| 499 | |
| 500 | Vector<Ref<GDScriptDecomp>> BytecodeTester::filter_decomps(const Vector<Ref<GDScriptDecomp>> &p_decomp_versions, int ver_major_hint, int ver_minor_hint) { |
| 501 | Vector<Ref<GDScriptDecomp>> candidates; |
nothing calls this directly
no test coverage detected