Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258

This commit is contained in:
Juan Linietsky
2017-09-25 17:08:48 -03:00
parent 0a6446ff36
commit c5da28f24c
3 changed files with 52 additions and 23 deletions

View File

@ -368,6 +368,7 @@ public:
static Vector<Variant> 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<StringName> get_method_argument_names(Variant::Type p_type, const StringName &p_method);
static bool is_method_const(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;