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

Method create

utility/godot_mono_decomp_wrapper.cpp:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include "godot_mono_decomp.h"
13
14Ref<GodotMonoDecompWrapper> GodotMonoDecompWrapper::create(const String &assembly_path, const Vector<String> &originalProjectFiles, const Vector<String> &assemblyReferenceDirs, const GodotMonoDecompSettings &settings) {
15 Ref<GodotMonoDecompWrapper> wrapper = memnew(GodotMonoDecompWrapper);
16 Error err = wrapper->_load(assembly_path, originalProjectFiles, assemblyReferenceDirs, settings);
17 ERR_FAIL_COND_V_MSG(err != OK, Ref<GodotMonoDecompWrapper>(), "Failed to load assembly " + assembly_path + " (Not a valid .NET assembly?)");
18 return wrapper;
19}
20
21Error GodotMonoDecompWrapper::_load(const String &p_assembly_path, const Vector<String> &p_original_project_files, const Vector<String> &p_assembly_reference_dirs, const GodotMonoDecompSettings &p_settings) {
22 CharString assembly_path_chrstr = p_assembly_path.utf8();

Callers

nothing calls this directly

Calls 1

_loadMethod · 0.45

Tested by

no test coverage detected