mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
* Feature: Augment VFS file information with creation times & update some console functions to use VFS.
This commit is contained in:
parent
277cdf67b0
commit
948bc43d85
7 changed files with 36 additions and 23 deletions
|
|
@ -273,6 +273,18 @@ Time FileNode::getModifiedTime()
|
|||
return attrs.mtime;
|
||||
}
|
||||
|
||||
Time FileNode::getCreatedTime()
|
||||
{
|
||||
Attributes attrs;
|
||||
|
||||
bool success = getAttributes(&attrs);
|
||||
|
||||
if (!success)
|
||||
return Time();
|
||||
|
||||
return attrs.ctime;
|
||||
}
|
||||
|
||||
U64 FileNode::getSize()
|
||||
{
|
||||
Attributes attrs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue