summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd/gd_mono_class.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-10-17 14:02:19 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-10-17 14:42:13 +0200
commit6e6b455d1fe791894e1a6bd66e1f5f8471c02abc (patch)
tree43863242fc7677aed0684dda7b06ddb9551b3806 /modules/mono/mono_gd/gd_mono_class.h
parent1b2e09355e890ae32fe172aad19dcda137ed636f (diff)
Export attribute fixes and improvements
- Allow non-public fields to be exported as well (to avoid confusion). - Set PROPERTY_HINT_RESOURCE_TYPE for resource derived fields. - Support enums and automatically fill PROPERTY_HINT_ENUM's hint_string for enum fields.
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_class.h')
-rw-r--r--modules/mono/mono_gd/gd_mono_class.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono_class.h b/modules/mono/mono_gd/gd_mono_class.h
index 1e72553879..ef1ca425a7 100644
--- a/modules/mono/mono_gd/gd_mono_class.h
+++ b/modules/mono/mono_gd/gd_mono_class.h
@@ -98,8 +98,14 @@ public:
_FORCE_INLINE_ MonoClass *get_raw() const { return mono_class; }
_FORCE_INLINE_ const GDMonoAssembly *get_assembly() const { return assembly; }
+ String get_full_name() const;
+
GDMonoClass *get_parent_class();
+#ifdef TOOLS_ENABLED
+ Vector<MonoClassField *> get_enum_fields();
+#endif
+
bool has_method(const StringName &p_name);
bool has_attribute(GDMonoClass *p_attr_class);