code: def Deserialize(self, reader):
          
          sv = reader.ReadByte()
          if sv != self.StateVersion:
              raise Exception("Incorrect State format")
docs: Deserialize full object.
  
          Args:
              reader (neocore.IO.BinaryReader):
  
          Raises:
              Exception: if the state version is incorrect.