summaryrefslogtreecommitdiff
path: root/core/variant/callable_bind.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-08 11:15:01 +0100
committerGitHub <noreply@github.com>2022-02-08 11:15:01 +0100
commitf425d403fe8be16b1a5dafbdce4dce546bdd28a4 (patch)
treedb00e586872f25461b5ff83c30d9c65b1301cb4f /core/variant/callable_bind.h
parent13d4cbb87c027dde09fa11ed9d5db98e6600309d (diff)
parenta08fc442a07be2c2c668a6b6a92a501522115cd4 (diff)
Merge pull request #57066 from KoBeWi/in_the_name_of_the_custom
Diffstat (limited to 'core/variant/callable_bind.h')
-rw-r--r--core/variant/callable_bind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant/callable_bind.h b/core/variant/callable_bind.h
index ac5797e05f..4f79a29629 100644
--- a/core/variant/callable_bind.h
+++ b/core/variant/callable_bind.h
@@ -47,6 +47,7 @@ public:
virtual String get_as_text() const;
virtual CompareEqualFunc get_compare_equal_func() const;
virtual CompareLessFunc get_compare_less_func() const;
+ virtual StringName get_method() const;
virtual ObjectID get_object() const; //must always be able to provide an object
virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const;
virtual const Callable *get_base_comparator() const;
@@ -71,6 +72,7 @@ public:
virtual String get_as_text() const;
virtual CompareEqualFunc get_compare_equal_func() const;
virtual CompareLessFunc get_compare_less_func() const;
+ virtual StringName get_method() const;
virtual ObjectID get_object() const; //must always be able to provide an object
virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const;
virtual const Callable *get_base_comparator() const;