diff options
| author | Juan Linietsky | 2016-08-23 19:29:07 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-08-23 19:29:07 -0300 |
| commit | ad8f208bdbcd9d3334c4d57d2e5554dfdb3a36d0 (patch) | |
| tree | 7724895bd5694ac68e121e35b7f89824e9b61906 /core | |
| parent | 965fcf5996c734507fe548331597097e06b69ce2 (diff) | |
| download | godot-ad8f208bdbcd9d3334c4d57d2e5554dfdb3a36d0.tar.gz godot-ad8f208bdbcd9d3334c4d57d2e5554dfdb3a36d0.tar.zst godot-ad8f208bdbcd9d3334c4d57d2e5554dfdb3a36d0.zip | |
Diffstat (limited to 'core')
| -rw-r--r-- | core/object.h | 8 | ||||
| -rw-r--r-- | core/script_language.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/core/object.h b/core/object.h index 400ab3070..6ea794ec7 100644 --- a/core/object.h +++ b/core/object.h @@ -70,6 +70,14 @@ enum PropertyHint { PROPERTY_HINT_OBJECT_ID, PROPERTY_HINT_TYPE_STRING, ///< a type string, the hint is the base type to choose PROPERTY_HINT_NODE_PATH_TO_EDITED_NODE, ///< so something else can provide this (used in scripts) + PROPERTY_HINT_METHOD_OF_VARIANT_TYPE, ///< a method of a type + PROPERTY_HINT_METHOD_OF_BASE_TYPE, ///< a method of a base type + PROPERTY_HINT_METHOD_OF_INSTANCE, ///< a method of an instance + PROPERTY_HINT_METHOD_OF_SCRIPT, ///< a method of a script & base + PROPERTY_HINT_PROPERTY_OF_VARIANT_TYPE, ///< a property of a type + PROPERTY_HINT_PROPERTY_OF_BASE_TYPE, ///< a property of a base type + PROPERTY_HINT_PROPERTY_OF_INSTANCE, ///< a property of an instance + PROPERTY_HINT_PROPERTY_OF_SCRIPT, ///< a property of a script & base PROPERTY_HINT_MAX, }; diff --git a/core/script_language.h b/core/script_language.h index aac94bb06..36ed11efe 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -114,6 +114,7 @@ public: virtual void update_exports() {} //editor tool virtual void get_script_method_list(List<MethodInfo> *p_list) const=0; + virtual void get_script_property_list(List<PropertyInfo> *p_list) const=0; Script() {} |
