summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd/gd_mono_class.h
diff options
context:
space:
mode:
authorPaul Joannon <hello@pauljoannon.com>2018-01-18 18:17:29 +0100
committerPaul Joannon <hello@pauljoannon.com>2018-02-17 19:29:26 +0100
commitefd52cd1725145dc9c8038477dbe133b23868e99 (patch)
treeac427f4b44ba9935d953e4b0c9c6df6676ce1dfb /modules/mono/mono_gd/gd_mono_class.h
parent3d4bf5a90e9b32c6c93647c7fa08785b22cd5442 (diff)
add a [Signal] attribute to CSharpScripts
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 afccf2fc63..417c138594 100644
--- a/modules/mono/mono_gd/gd_mono_class.h
+++ b/modules/mono/mono_gd/gd_mono_class.h
@@ -90,6 +90,10 @@ class GDMonoClass {
Map<StringName, GDMonoProperty *> properties;
Vector<GDMonoProperty *> properties_list;
+ bool delegates_fetched;
+ Map<StringName, GDMonoClass *> delegates;
+ Vector<GDMonoClass *> delegates_list;
+
friend class GDMonoAssembly;
GDMonoClass(const StringName &p_namespace, const StringName &p_name, MonoClass *p_class, GDMonoAssembly *p_assembly);
@@ -133,6 +137,8 @@ public:
GDMonoProperty *get_property(const StringName &p_name);
const Vector<GDMonoProperty *> &get_all_properties();
+ const Vector<GDMonoClass *> &get_all_delegates();
+
~GDMonoClass();
};