Changed how DLCs are referred as.

Optional DLC settings can now be shown (loading and saving is not implemented yet)
This commit is contained in:
Jeddunk 2021-04-28 13:33:04 +02:00
parent adc067d8a2
commit e17b0a18ca
5 changed files with 30 additions and 39 deletions

View file

@ -32,13 +32,13 @@ namespace GoldbergGUI.Core.Models
/// <summary>
/// List of DLC
/// </summary>
public List<SteamApp> DlcList { get; set; }
public List<DlcApp> DlcList { get; set; }
public List<Depot> Depots { get; set; }
//public List<Depot> Depots { get; set; }
public List<Group> SubscribedGroups { get; set; }
public List<AppPath> AppPaths { get; set; }
//public List<AppPath> AppPaths { get; set; }
public List<Achievement> Achievements { get; set; }
@ -65,20 +65,11 @@ namespace GoldbergGUI.Core.Models
public GoldbergGlobalConfiguration OverwrittenGlobalConfiguration { get; set; }
}
public class Depot
public class DlcApp : SteamApp
{
/// <summary>
/// ID of Depot.
/// </summary>
public int DepotId { get; set; }
/// <summary>
/// Name of Depot.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Associated DLC App ID, can be null (e.g. if Depot is for base game).
/// </summary>
public int DlcAppId { get; set; }
public int? DepotId { get; set; }
public string DepotName { get; set; }
public string AppPath { get; set; }
}
public class Group
@ -97,12 +88,6 @@ namespace GoldbergGUI.Core.Models
public int AppId { get; set; }
}
public class AppPath
{
public int AppId { get; set; }
public string Path { get; set; }
}
public class Achievement
{
/// <summary>