public DoomEternalSavePath(string id, DoomEternalSavePlatform platform, bool encrypted = true) { Identifier = id; Platform = platform; Encrypted = encrypted; if (Identifier == "savegame.unencrypted") { Encrypted = false; FullPath = Path.Combine(BnetSavePath + ".unencrypted", Environment.UserName); } else if (platform == DoomEternalSavePlatform.BethesdaNet) { FullPath = Path.Combine(BnetSavePath, Identifier); } else if (platform == DoomEternalSavePlatform.Steam) { FullPath = Path.Combine(SteamSavePath, Utilities.Id64ToId3(Identifier), DoomEternal.SteamGameID.ToString(), "remote"); } }
public DoomEternalSave(string id, string path, DoomEternalSavePlatform platform) { Identifier = id; BasePath = path; Platform = platform; }