private void ReadProgressFile(string fileName, ProgressData progressData)
 {
     if (SteamRemoteStorage.FileExists(fileName))
     {
         try
         {
             byte[]       array        = new byte[SteamRemoteStorage.GetFileSize(fileName)];
             int          num          = SteamRemoteStorage.FileRead(fileName, array, array.Length);
             MemoryStream memoryStream = new MemoryStream(array);
             BinaryReader binaryReader = new BinaryReader(memoryStream);
             int          num2         = binaryReader.ReadInt32();
             int          num3         = binaryReader.ReadInt32();
             List <ulong> list         = new List <ulong>();
             List <uint>  list2        = new List <uint>();
             for (int i = 0; i < num3; i++)
             {
                 list.Add(binaryReader.ReadUInt64());
                 list2.Add(binaryReader.ReadUInt32());
             }
             for (int j = 0; j < list.Count; j++)
             {
                 progressData.Add(list[j], list2[j]);
             }
             binaryReader.Close();
             memoryStream.Close();
         }
         catch (Exception ex)
         {
             Debug.LogError("Error loading " + fileName + ": " + ex);
         }
     }
 }