MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_all_decomp_versions_json

Method get_all_decomp_versions_json

bytecode/bytecode_base.cpp:2614–2625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2612}
2613
2614TypedArray<Dictionary> GDScriptDecomp::get_all_decomp_versions_json() {
2615 TypedArray<Dictionary> ret;
2616 auto versions = GDScriptDecompVersion::get_decomp_versions(true, 0);
2617 for (int i = 0; i < versions.size(); i++) {
2618 Ref<GDScriptDecomp> decomp = versions[i].create_decomp();
2619 if (decomp.is_null()) {
2620 continue;
2621 }
2622 ret.append(decomp->to_json());
2623 }
2624 return ret;
2625}
2626
2627String GDScriptDecomp::get_token_identifier(GlobalToken p_token) {
2628 if ((int)p_token <= (int)G_TK_MAX && (int)p_token >= 0) {

Callers

nothing calls this directly

Calls 3

create_decompMethod · 0.80
sizeMethod · 0.45
to_jsonMethod · 0.45

Tested by

no test coverage detected