Esempio n. 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);
        }
Esempio n. 2
0
 public static void SaveGame(Player p)
 {
     EncryptionManager.EncryptFile(path, p);
 }
Esempio n. 3
0
 public static void SaveRelicManager(RelicManager rm)
 {
     EncryptionManager.EncryptFile(rPath, rm);
 }
Esempio n. 4
0
        public void SaveGame(Player p)
        {
            string path = Path.Combine(PATH, p.Name + ".bin");

            EncryptionManager.EncryptFile(path, p);
        }