summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvoidedWarranties <hi+github@voidedxd.xyz>2023-02-15 19:32:04 -0800
committervoidedWarranties <hi+github@voidedxd.xyz>2023-02-15 19:48:01 -0800
commit0a58025e407a2d31d02c222986da838e8f573c3d (patch)
treeff979a59e7e10eb57ede6bd4bb1b4d8a23823c71
parentaa6ec763179e5bf1d1300aa72dc5f4172d810efa (diff)
Add missing virtual bind for `ScriptExtension::_get_global_name`
-rw-r--r--core/object/script_language_extension.cpp1
-rw-r--r--doc/classes/ScriptExtension.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp
index 19c6fc3383..c7eb32c020 100644
--- a/core/object/script_language_extension.cpp
+++ b/core/object/script_language_extension.cpp
@@ -36,6 +36,7 @@ void ScriptExtension::_bind_methods() {
GDVIRTUAL_BIND(_can_instantiate);
GDVIRTUAL_BIND(_get_base_script);
+ GDVIRTUAL_BIND(_get_global_name);
GDVIRTUAL_BIND(_inherits_script, "script");
GDVIRTUAL_BIND(_get_instance_base_type);
diff --git a/doc/classes/ScriptExtension.xml b/doc/classes/ScriptExtension.xml
index 045eadda41..61034f8e4a 100644
--- a/doc/classes/ScriptExtension.xml
+++ b/doc/classes/ScriptExtension.xml
@@ -32,6 +32,11 @@
<description>
</description>
</method>
+ <method name="_get_global_name" qualifiers="virtual const">
+ <return type="StringName" />
+ <description>
+ </description>
+ </method>
<method name="_get_instance_base_type" qualifiers="virtual const">
<return type="StringName" />
<description>