From 6e6b455d1fe791894e1a6bd66e1f5f8471c02abc Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 17 Oct 2017 14:02:19 +0200 Subject: 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. --- modules/mono/mono_gd/gd_mono_class.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/mono/mono_gd/gd_mono_class.h') 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 get_enum_fields(); +#endif + bool has_method(const StringName &p_name); bool has_attribute(GDMonoClass *p_attr_class); -- cgit v1.2.3