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

Method get_editor_message_string

utility/import_exporter.cpp:2344–2366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2342 return report;
2343}
2344String ImportExporterReport::get_editor_message_string() {
2345 String report = "";
2346 String version_text = ver->as_text();
2347 if (godotsteam_detected) {
2348 if (mono_detected) {
2349 version_text += " (Steam Mono edition)";
2350 } else {
2351 version_text += " (Steam edition)";
2352 }
2353 } else if (mono_detected) {
2354 version_text += " (Mono)";
2355 }
2356 report += "Use Godot editor version " + version_text + " to edit the project." + String("\n");
2357 if (godotsteam_detected) {
2358 report += "GodotSteam can be found here: https://github.com/CoaguCo-Industries/GodotSteam/releases \n";
2359 }
2360 if (custom_version_detected) {
2361 report += "Custom Godot engine version detected!" + String("\n");
2362 report += "You may encounter errors when opening the project in the editor." + String("\n");
2363 }
2364
2365 return report;
2366}
2367String ImportExporterReport::get_detected_unsupported_resource_string() {
2368 String str = "";
2369 for (auto type : unsupported_types) {

Callers 1

Calls 1

as_textMethod · 0.45

Tested by

no test coverage detected