Guest User

Untitled

a guest
Jul 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.06 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.IO;
  6. using Microsoft.Win32;
  7.  
  8. namespace IsaacSaveManager
  9. {
  10.     public class FileMan
  11.     {
  12.         public IsaacArchive[] ListArchives()
  13.         {
  14.             return null;
  15.         }
  16.  
  17.         public void RestoreArchivedSave(IsaacArchive archive)
  18.         {
  19.         }
  20.  
  21.         public void ArchiveCurrentSave(string saveLocation)
  22.         {
  23.         }
  24.  
  25.         public void CheckCurrentSave()
  26.         {
  27.         }
  28.  
  29.         public static string FindIsaacInstallPath()
  30.         {
  31.             string steamKey = "HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam";
  32.             string steam = (string)Registry.GetValue(steamKey, "InstallPath", null);
  33.             return steam + "\\steamapps\\common\\the binding of isaac\\";
  34.         }
  35.  
  36.         public static string FindIsaacSaveFile()
  37.         {  
  38.             return Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Macromedia\\Flash Player\\#SharedObjects\\**\\localhost\\so.sol";
  39.         }
  40.     }
  41. }
Add Comment
Please, Sign In to add comment