diff options
author | Daniele Giuliani <d.giuliani304@gmail.com> | 2018-05-16 00:50:57 +0200 |
---|---|---|
committer | Daniele Giuliani <d.giuliani304@gmail.com> | 2018-05-16 00:50:57 +0200 |
commit | d315b0fb8aa03ee6ecc7d93d884b606dc19c6ad5 (patch) | |
tree | 3ce31259c79d26f74f1dfcd9c9d4a77df261ce61 /modules/mono | |
parent | 005b69cf6e276209464cc8c36ebc7376679925b6 (diff) |
added get_creation_time function for gdscript
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_assembly.h | 2 |
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); |