From d8af6330e57b98f370ed56d891a6a6952957cfec Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 3 Aug 2016 11:28:20 -0300 Subject: More progress on visual script editing --- core/variant.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/variant.h') diff --git a/core/variant.h b/core/variant.h index 87bf20f8ee..b8b028a760 100644 --- a/core/variant.h +++ b/core/variant.h @@ -395,6 +395,10 @@ public: void get_method_list(List *p_list) const; bool has_method(const StringName& p_method) const; + static Vector get_method_argument_types(Variant::Type p_type,const StringName& p_method); + static Vector get_method_default_arguments(Variant::Type p_type,const StringName& p_method); + static Variant::Type get_method_return_type(Variant::Type p_type,const StringName& p_method,bool* r_has_return=NULL); + static Vector get_method_argument_names(Variant::Type p_type,const StringName& p_method); void set_named(const StringName& p_index, const Variant& p_value, bool *r_valid=NULL); Variant get_named(const StringName& p_index, bool *r_valid=NULL) const; -- cgit v1.2.3