Example #1
0
        public static void SaveWeaknessIndex(WeaknessIndex w)
        {
            WeaknessSaveFile wsf = new WeaknessSaveFile();

            if (w.Index.Count > 0)
            {
                StoreWeaknessKVPs(w.Index, wsf.Index);
            }

            if (w.Reality.Count > 0)
            {
                StoreWeaknessKVPs(w.Reality, wsf.Reality);
            }

            EncryptionManager.EncryptFile(wPath, wsf);
        }
Example #2
0
 public static void SaveGame(Player p)
 {
     EncryptionManager.EncryptFile(path, p);
 }
Example #3
0
 public static void SaveRelicManager(RelicManager rm)
 {
     EncryptionManager.EncryptFile(rPath, rm);
 }
Example #4
0
        public void SaveGame(Player p)
        {
            string path = Path.Combine(PATH, p.Name + ".bin");

            EncryptionManager.EncryptFile(path, p);
        }