From f997baa9d095bc449b50d2969d6ac083b7d9cd1d Mon Sep 17 00:00:00 2001 From: Anonymous <84868516+Captian-obvious@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:12:02 -0400 Subject: [PATCH] Update binary.py --- pyrbxm/binary.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pyrbxm/binary.py b/pyrbxm/binary.py index 6fdf3a0..d95f62b 100644 --- a/pyrbxm/binary.py +++ b/pyrbxm/binary.py @@ -286,23 +286,23 @@ def HasMetadata(self): @property def Metadata(self): return self.META.Data if self.META else {} - + ##end @property def HasSharedStrings(self): return self.SSTR is not None - + ##end @property def SharedStrings(self): return self.SSTR.Strings if self.SSTR else {} - + ##end @property def HasSignatures(self): return self.SIGN is not None - + ##end @property def Signatures(self): return self.SIGN.Signatures if self.SIGN else [] - + ##end def deserialize(self, file): stream = BinaryStream(file) # Verify the signature of the file. @@ -311,7 +311,7 @@ def deserialize(self, file): raise ValueError( "Provided file's signature does not match BinaryRobloxFile.MAGIC_HEADER!" ) - + ##endif # Read header data. ( self.Version, @@ -319,13 +319,10 @@ def deserialize(self, file): self.NumInstances, self.Reserved, ) = stream.unpack("