public static Player LoadGame() { Player p; p = EncryptionManager.DeCrypt <Player>(path); return(p); }
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); }
public static RelicManager LoadRelicManager() { return(EncryptionManager.DeCrypt <RelicManager>(rPath)); }
public Player LoadGame(string name) { string path = Path.Combine(PATH, $"{name}.bin"); return(EncryptionManager.DeCrypt <Player>(path)); }