diff --git a/SteamKit2/SteamKit2/Types/DepotManifest.cs b/SteamKit2/SteamKit2/Types/DepotManifest.cs
index 60cb9bb89..412cdc300 100644
--- a/SteamKit2/SteamKit2/Types/DepotManifest.cs
+++ b/SteamKit2/SteamKit2/Types/DepotManifest.cs
@@ -129,6 +129,26 @@ internal FileData(string filename, EDepotFileFlag flag, ulong size, byte[] hash,
/// true if the filenames are encrypted; otherwise, false.
///
public bool FilenamesEncrypted { get; private set; }
+ ///
+ /// Gets the depot id.
+ ///
+ public uint DepotID { get; private set; }
+ ///
+ /// Gets the manifest id.
+ ///
+ public ulong ManifestGID { get; private set; }
+ ///
+ /// Gets the depot creation time.
+ ///
+ public DateTime CreationTime { get; private set; }
+ ///
+ /// Gets the total uncompressed size of all files in this depot.
+ ///
+ public ulong TotalUncompressedSize { get; private set; }
+ ///
+ /// Gets the total compressed size of all files in this depot.
+ ///
+ public ulong TotalCompressedSize { get; private set; }
internal DepotManifest(byte[] data)
@@ -239,6 +259,11 @@ void ParseBinaryManifest(Steam3Manifest manifest)
{
Files = new List( manifest.Mapping.Count );
FilenamesEncrypted = manifest.AreFileNamesEncrypted;
+ DepotID = manifest.DepotID;
+ ManifestGID = manifest.ManifestGID;
+ CreationTime = manifest.CreationTime;
+ TotalUncompressedSize = manifest.TotalUncompressedSize;
+ TotalCompressedSize = manifest.TotalCompressedSize;
foreach (var file_mapping in manifest.Mapping)
{
@@ -273,6 +298,11 @@ void ParseProtobufManifestPayload(ContentManifestPayload payload)
void ParseProtobufManifestMetadata(ContentManifestMetadata metadata)
{
FilenamesEncrypted = metadata.filenames_encrypted;
+ DepotID = metadata.depot_id;
+ ManifestGID = metadata.gid_manifest;
+ CreationTime = DateUtils.DateTimeFromUnixTime( metadata.creation_time );
+ TotalUncompressedSize = metadata.cb_disk_original;
+ TotalCompressedSize = metadata.cb_disk_compressed;
}
}
}