From d315b0fb8aa03ee6ecc7d93d884b606dc19c6ad5 Mon Sep 17 00:00:00 2001 From: Daniele Giuliani Date: Wed, 16 May 2018 00:50:57 +0200 Subject: added get_creation_time function for gdscript --- modules/mono/mono_gd/gd_mono_assembly.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/mono/mono_gd') 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 cached_classes; Map 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); -- cgit v1.2.3