From 74e429249977df2adfdbdb11408a140f618f86b9 Mon Sep 17 00:00:00 2001 From: alec-hs <6503411+alec-hs@users.noreply.github.com> Date: Sat, 10 Dec 2022 11:27:49 +0000 Subject: [PATCH] Added DepotFile missing properties (#414) * Added DepotFile missing properties --- steam/core/manifest.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/steam/core/manifest.py b/steam/core/manifest.py index fd76121..644ab07 100644 --- a/steam/core/manifest.py +++ b/steam/core/manifest.py @@ -73,6 +73,22 @@ class DepotFile(object): """ return os.path.join(*self.linktarget_raw.split('\\')) + @property + def sha_content(self): + """File content SHA1 + + :type: bytes + """ + return self.file_mapping.sha_content + + @property + def sha_filename(self): + """Filename SHA1 + + :type: bytes + """ + return self.file_mapping.sha_filename + @property def size(self): """File size in bytes