mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 18:41:29 +00:00
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
|
|
@ -59,6 +59,7 @@ public:
|
|||
CompareLessFunc get_compare_less_func() const override;
|
||||
ObjectID get_object() const override;
|
||||
StringName get_method() const override;
|
||||
int get_argument_count(bool &r_is_valid) const override;
|
||||
void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const override;
|
||||
|
||||
GDScriptLambdaCallable(GDScriptLambdaCallable &) = delete;
|
||||
|
|
@ -86,6 +87,7 @@ public:
|
|||
CompareEqualFunc get_compare_equal_func() const override;
|
||||
CompareLessFunc get_compare_less_func() const override;
|
||||
ObjectID get_object() const override;
|
||||
int get_argument_count(bool &r_is_valid) const override;
|
||||
void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const override;
|
||||
|
||||
GDScriptLambdaSelfCallable(GDScriptLambdaSelfCallable &) = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue