aboutsummaryrefslogtreecommitdiff
path: root/core/class_db.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-08-06 02:04:10 +0200
committerIgnacio Etcheverry2017-08-06 02:04:10 +0200
commitaee99ab59ff73f54dcf834d870432a62f17ccc82 (patch)
treef69a8a64e7751eedce154c3fe87d44ff1e591712 /core/class_db.h
parent3b2dfae5af9759da31516de25fcae12001092bb0 (diff)
downloadgodot-aee99ab59ff73f54dcf834d870432a62f17ccc82.tar.gz
godot-aee99ab59ff73f54dcf834d870432a62f17ccc82.tar.zst
godot-aee99ab59ff73f54dcf834d870432a62f17ccc82.zip
Diffstat (limited to 'core/class_db.h')
-rw-r--r--core/class_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/class_db.h b/core/class_db.h
index 4f00a16e9..02eac0dbb 100644
--- a/core/class_db.h
+++ b/core/class_db.h
@@ -480,6 +480,7 @@ public:
static bool set_property(Object *p_object, const StringName &p_property, const Variant &p_value, bool *r_valid = NULL);
static bool get_property(Object *p_object, const StringName &p_property, Variant &r_value);
static bool has_property(const StringName &p_class, const StringName &p_property, bool p_no_inheritance = false);
+ static int get_property_index(const StringName &p_class, const StringName &p_property, bool *r_is_valid = NULL);
static Variant::Type get_property_type(const StringName &p_class, const StringName &p_property, bool *r_is_valid = NULL);
static StringName get_property_setter(StringName p_class, const StringName p_property);
static StringName get_property_getter(StringName p_class, const StringName p_property);