summaryrefslogtreecommitdiffstats
path: root/core/object/script_language_extension.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-01-28 15:16:09 +0100
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-03-10 11:02:43 +0100
commit59bcc2888c0c6002428ed1040ef6b36957a80e98 (patch)
treee78cf547c47bb31e35827eff93f6e7c492399605 /core/object/script_language_extension.cpp
parent0ace0a129284ffc6646b199699c1607a316fcec0 (diff)
downloadredot-engine-59bcc2888c0c6002428ed1040ef6b36957a80e98.tar.gz
Add methods to get argument count of methods
Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s
Diffstat (limited to 'core/object/script_language_extension.cpp')
-rw-r--r--core/object/script_language_extension.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp
index ec99c7cf4e..a18ef8d4d7 100644
--- a/core/object/script_language_extension.cpp
+++ b/core/object/script_language_extension.cpp
@@ -56,6 +56,9 @@ void ScriptExtension::_bind_methods() {
GDVIRTUAL_BIND(_has_method, "method");
GDVIRTUAL_BIND(_has_static_method, "method");
+
+ GDVIRTUAL_BIND(_get_script_method_argument_count, "method");
+
GDVIRTUAL_BIND(_get_method_info, "method");
GDVIRTUAL_BIND(_is_tool);