summaryrefslogtreecommitdiffstats
path: root/modules/mono/glue/nodepath_glue.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-02 00:17:21 +0200
committerGitHub <noreply@github.com>2022-07-02 00:17:21 +0200
commita2459c7d35eeaeea8b1d4fa9ce6c9cbe74f11643 (patch)
treec52f05eddaf57d2b54e4df061ecf354a8b3ea133 /modules/mono/glue/nodepath_glue.cpp
parentd67691fbd6c1335caf523a2601450733bb4f101f (diff)
parentdc43cfc830e7e602ad5aa1f59ceaa82e344dd378 (diff)
downloadredot-engine-a2459c7d35eeaeea8b1d4fa9ce6c9cbe74f11643.tar.gz
Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid
Diffstat (limited to 'modules/mono/glue/nodepath_glue.cpp')
-rw-r--r--modules/mono/glue/nodepath_glue.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/mono/glue/nodepath_glue.cpp b/modules/mono/glue/nodepath_glue.cpp
index 0ea9814b1a..16e1509eb0 100644
--- a/modules/mono/glue/nodepath_glue.cpp
+++ b/modules/mono/glue/nodepath_glue.cpp
@@ -68,6 +68,10 @@ MonoString *godot_icall_NodePath_get_subname(NodePath *p_ptr, uint32_t p_idx) {
return GDMonoMarshal::mono_string_from_godot(p_ptr->get_subname(p_idx));
}
+MonoString *godot_icall_NodePath_get_concatenated_names(NodePath *p_ptr) {
+ return GDMonoMarshal::mono_string_from_godot(p_ptr->get_concatenated_names());
+}
+
MonoString *godot_icall_NodePath_get_concatenated_subnames(NodePath *p_ptr) {
return GDMonoMarshal::mono_string_from_godot(p_ptr->get_concatenated_subnames());
}
@@ -85,6 +89,7 @@ void godot_register_nodepath_icalls() {
GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_Dtor", godot_icall_NodePath_Dtor);
GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_operator_String", godot_icall_NodePath_operator_String);
GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_get_as_property_path", godot_icall_NodePath_get_as_property_path);
+ GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_get_concatenated_names", godot_icall_NodePath_get_concatenated_names);
GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_get_concatenated_subnames", godot_icall_NodePath_get_concatenated_subnames);
GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_get_name", godot_icall_NodePath_get_name);
GDMonoUtils::add_internal_call("Godot.NodePath::godot_icall_NodePath_get_name_count", godot_icall_NodePath_get_name_count);