You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
added get_creation_time function for gdscript
This commit is contained in:
@@ -372,6 +372,15 @@ uint64_t FileAccessCompressed::_get_modified_time(const String &p_file) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// NEW FUNCTION
|
||||
uint64_t FileAccessCompressed::_get_creation_time(const String &p_file) {
|
||||
|
||||
if (f)
|
||||
return f->get_creation_time(p_file);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
FileAccessCompressed::FileAccessCompressed() {
|
||||
|
||||
f = NULL;
|
||||
|
||||
Reference in New Issue
Block a user