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

            EncryptionManager.EncryptFile(path, p);
        }