Download file

This commit is contained in:
Aurélie Delhaie
2022-05-22 21:56:35 +02:00
parent 03ceaf3bda
commit 54a6082394
17 changed files with 383 additions and 95 deletions

View File

@@ -38,6 +38,21 @@ namespace OpenSaveCloudClient.Core
return gameSave;
}
/*public GameSave? GetByUuid(string uuid)
{
return saves.FirstOrDefault(g => g.Uuid == uuid);
}
public void Set(GameSave gameSave)
{
GameSave? g = saves.FirstOrDefault(g => g.Uuid == gameSave.Uuid);
if (g != null)
{
saves.Remove(g);
}
saves.Add(gameSave);
}*/
private void Load()
{
string appdata = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "osc");