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

Method _create_custom_decomp

bytecode/bytecode_base.cpp:2643–2651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2641}
2642
2643Ref<GDScriptDecomp> GDScriptDecomp::_create_custom_decomp(Dictionary p_custom_def, int p_derived_from) {
2644 GDScriptDecompVersion decomp;
2645 if (p_derived_from == 0) {
2646 decomp = GDScriptDecompVersion::create_version_from_custom_def(p_custom_def);
2647 } else {
2648 decomp = GDScriptDecompVersion::create_derived_version_from_custom_def(p_derived_from, p_custom_def);
2649 }
2650 return decomp.create_decomp();
2651}
2652
2653int GDScriptDecomp::register_decomp_version_custom(Dictionary p_custom_def, int p_derived_from) {
2654 if (p_derived_from == 0) {

Callers

nothing calls this directly

Calls 1

create_decompMethod · 0.80

Tested by

no test coverage detected