This commit is contained in:
EvilFactory
2022-12-20 12:29:13 -03:00
23 changed files with 219 additions and 108 deletions

View File

@@ -192,6 +192,22 @@ namespace Steamworks.Ugc
}
}
/// <summary>
/// If installed, the time and date of installation
/// </summary>
public DateTime? InstallTime
{
get
{
ulong size = 0;
uint ts = 0;
if ( !SteamUGC.Internal.GetItemInstallInfo( Id, ref size, out _, ref ts ) )
return null;
return Epoch.ToDateTime(ts);
}
}
/// <summary>
/// File size as returned by Steamworks,
/// no download/install required