MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / create_instance

Method create_instance

platform/android/os_android.cpp:930–939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930Error OS_Android::create_instance(const List<String> &p_arguments, ProcessID *r_child_id) {
931 int instance_id = godot_java->create_new_godot_instance(p_arguments);
932 if (instance_id == -1) {
933 return FAILED;
934 }
935 if (r_child_id) {
936 *r_child_id = instance_id;
937 }
938 return OK;
939}
940
941Error OS_Android::kill(const ProcessID &p_pid) {
942 if (godot_java->force_quit(nullptr, p_pid)) {

Calls 1

Tested by

no test coverage detected