Add methods to get argument count of methods
Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s
This commit is contained in:
parent
0ace0a1292
commit
59bcc2888c
50 changed files with 821 additions and 3 deletions
|
|
@ -278,6 +278,7 @@ public:
|
|||
|
||||
void get_script_method_list(List<MethodInfo> *p_list) const override;
|
||||
bool has_method(const StringName &p_method) const override;
|
||||
virtual int get_script_method_argument_count(const StringName &p_method, bool *r_is_valid = nullptr) const override;
|
||||
MethodInfo get_method_info(const StringName &p_method) const override;
|
||||
Variant callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) override;
|
||||
|
||||
|
|
@ -346,6 +347,7 @@ public:
|
|||
|
||||
void get_method_list(List<MethodInfo> *p_list) const override;
|
||||
bool has_method(const StringName &p_method) const override;
|
||||
virtual int get_method_argument_count(const StringName &p_method, bool *r_is_valid = nullptr) const override;
|
||||
Variant callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) override;
|
||||
|
||||
void mono_object_disposed(GCHandleIntPtr p_gchandle_to_free);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue