diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-13 22:16:43 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-13 22:16:43 +0100 |
commit | a1c476f9d754e9c3420eb092b236325029151c0b (patch) | |
tree | ffa5bd5899adf40ed1c9a67a8425e4c777aeddcc /modules/gdscript/gdscript_function.h | |
parent | 89ba6178248569813cbd8cc44e402b411b88ac36 (diff) | |
parent | 59bcc2888c0c6002428ed1040ef6b36957a80e98 (diff) | |
download | redot-engine-a1c476f9d754e9c3420eb092b236325029151c0b.tar.gz |
Merge pull request #87680 from AThousandShips/the_angry_count
Add methods to get argument count of methods
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
-rw-r--r-- | modules/gdscript/gdscript_function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h index 177c68533e..002fc159fa 100644 --- a/modules/gdscript/gdscript_function.h +++ b/modules/gdscript/gdscript_function.h @@ -511,6 +511,7 @@ public: _FORCE_INLINE_ GDScript *get_script() const { return _script; } _FORCE_INLINE_ bool is_static() const { return _static; } _FORCE_INLINE_ MethodInfo get_method_info() const { return method_info; } + _FORCE_INLINE_ int get_argument_count() const { return _argument_count; } _FORCE_INLINE_ Variant get_rpc_config() const { return rpc_config; } _FORCE_INLINE_ int get_max_stack_size() const { return _stack_size; } |