summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorDaniele Giuliani <d.giuliani304@gmail.com>2018-05-16 00:50:57 +0200
committerDaniele Giuliani <d.giuliani304@gmail.com>2018-05-16 00:50:57 +0200
commitd315b0fb8aa03ee6ecc7d93d884b606dc19c6ad5 (patch)
tree3ce31259c79d26f74f1dfcd9c9d4a77df261ce61 /modules/mono
parent005b69cf6e276209464cc8c36ebc7376679925b6 (diff)
added get_creation_time function for gdscript
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/mono_gd/gd_mono_assembly.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono_assembly.h b/modules/mono/mono_gd/gd_mono_assembly.h
index 5cf744a5a2..187eb10af2 100644
--- a/modules/mono/mono_gd/gd_mono_assembly.h
+++ b/modules/mono/mono_gd/gd_mono_assembly.h
@@ -77,6 +77,7 @@ class GDMonoAssembly {
String name;
String path;
uint64_t modified_time;
+ uint64_t creation_time; // NEW FUNCTION
HashMap<ClassKey, GDMonoClass *, ClassKey::Hasher> cached_classes;
Map<MonoClass *, GDMonoClass *> cached_raw;
@@ -116,6 +117,7 @@ public:
_FORCE_INLINE_ String get_name() const { return name; }
_FORCE_INLINE_ String get_path() const { return path; }
_FORCE_INLINE_ uint64_t get_modified_time() const { return modified_time; }
+ _FORCE_INLINE_ uint64_t get_creation_time() const { return creation_time; } // NEW FUNCTION
GDMonoClass *get_class(const StringName &p_namespace, const StringName &p_name);
GDMonoClass *get_class(MonoClass *p_mono_class);