Example #1
0
        public static Player LoadGame()
        {
            Player p;

            p = EncryptionManager.DeCrypt <Player>(path);

            return(p);
        }
Example #2
0
        public static WeaknessIndex LoadWeaknessIndex()
        {
            WeaknessIndex w = new WeaknessIndex();

            WeaknessSaveFile wsf = new WeaknessSaveFile();

            wsf = EncryptionManager.DeCrypt <WeaknessSaveFile>(wPath);

            w.Index = RetrieveWeaknessKVPs(wsf.Index, wsf);

            w.Reality = RetrieveWeaknessKVPs(wsf.Reality, wsf);

            return(w);
        }
Example #3
0
 public static RelicManager LoadRelicManager()
 {
     return(EncryptionManager.DeCrypt <RelicManager>(rPath));
 }
Example #4
0
        public Player LoadGame(string name)
        {
            string path = Path.Combine(PATH, $"{name}.bin");

            return(EncryptionManager.DeCrypt <Player>(path));
        }