summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-10 13:28:47 -0300
committerGitHub <noreply@github.com>2018-08-10 13:28:47 -0300
commit275e0d5ee4e80d9d3cd124ffa29a691b9aed3e70 (patch)
tree6cb7e7f8bec4a2d599ecd0dbbc17f651c56fc710 /modules/mono
parentb9730a695643af15bd97f9b87ae656b735281bba (diff)
parentd315b0fb8aa03ee6ecc7d93d884b606dc19c6ad5 (diff)
Merge pull request #18914 from notwarp/master
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);