summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_lambda_callable.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-07-08 19:13:42 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-07-08 19:13:42 +0200
commit6deaa15590d7a939b6fb13f505cf1611b26ed141 (patch)
tree8356954ba2a8c22080539457700797cc46ec7d97 /modules/gdscript/gdscript_lambda_callable.h
parent3ced38cf282fc30b3a0a4d07f69dea82694fb664 (diff)
parentf68ab70a6ae4ddfdf955912af3dcb66284880b4d (diff)
downloadredot-engine-6deaa15590d7a939b6fb13f505cf1611b26ed141.tar.gz
Merge pull request #94076 from AThousandShips/lambda_get_method_fix
[GDScript] Fix `get_method` for lambda self `Callable`s
Diffstat (limited to 'modules/gdscript/gdscript_lambda_callable.h')
-rw-r--r--modules/gdscript/gdscript_lambda_callable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_lambda_callable.h b/modules/gdscript/gdscript_lambda_callable.h
index 45c0235913..2d27b8d679 100644
--- a/modules/gdscript/gdscript_lambda_callable.h
+++ b/modules/gdscript/gdscript_lambda_callable.h
@@ -87,6 +87,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;
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;