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

Method get_as_text

utility/pcfg_loader.cpp:550–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550String ProjectConfigLoader::get_as_text() {
551 RBMap<String, List<String>> proops = get_save_proops();
552 Ref<FileAccessBuffer> f;
553 f.instantiate();
554 f->open_new();
555
556 Error err = _save_settings_text_file(f, proops, major, minor);
557 ERR_FAIL_COND_V_MSG(err != OK, "", "Failed to save project.godot");
558 return f->get_as_text();
559}
560
561String ProjectConfigLoader::get_project_settings_as_string(const String &p_path) {
562 int ver_major = GDRESettings::get_singleton()->get_ver_major();

Callers 8

runMethod · 0.80
_load_release_cacheMethod · 0.80
load_edit_list_cacheMethod · 0.80
load_edit_cacheMethod · 0.80

Calls 1

open_newMethod · 0.80

Tested by

no test coverage detected