summaryrefslogtreecommitdiffstats
path: root/core/variant/variant.h
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-09-24 23:33:28 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-10-25 15:53:52 +0300
commitb04263644c3307b8b4a20838cd48f3c19692f1d2 (patch)
treeb9a0791921a176cec29e5859b7fbd288174ddd11 /core/variant/variant.h
parent06d51891678e3abf360d6fcd2e8bd1ba96704fcc (diff)
downloadredot-engine-b04263644c3307b8b4a20838cd48f3c19692f1d2.tar.gz
Core: Allow methods of built-in `Variant` types to be used as Callables
Diffstat (limited to 'core/variant/variant.h')
-rw-r--r--core/variant/variant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant.h b/core/variant/variant.h
index 21342ae6ef..b80145a6b5 100644
--- a/core/variant/variant.h
+++ b/core/variant/variant.h
@@ -568,6 +568,7 @@ public:
static ValidatedBuiltInMethod get_validated_builtin_method(Variant::Type p_type, const StringName &p_method);
static PTRBuiltInMethod get_ptr_builtin_method(Variant::Type p_type, const StringName &p_method);
+ static MethodInfo get_builtin_method_info(Variant::Type p_type, const StringName &p_method);
static int get_builtin_method_argument_count(Variant::Type p_type, const StringName &p_method);
static Variant::Type get_builtin_method_argument_type(Variant::Type p_type, const StringName &p_method, int p_argument);
static String get_builtin_method_argument_name(Variant::Type p_type, const StringName &p_method, int p_argument);