Fix get_method from named lambda

(cherry picked from commit 793cc080cb)
This commit is contained in:
Septian
2023-08-11 11:22:10 +07:00
committed by Yuri Sizov
parent ed94e3eb79
commit bede7fa0d8
5 changed files with 11 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ public:
CompareEqualFunc get_compare_equal_func() const override;
CompareLessFunc get_compare_less_func() const override;
ObjectID get_object() const override;
StringName get_method() const override;
void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const override;
GDScriptLambdaCallable(Ref<GDScript> p_script, GDScriptFunction *p_function, const Vector<Variant> &p_captures);