Fixed DLC crash

This commit is contained in:
Jeddunk 2021-08-29 22:42:33 +02:00
parent 0be8f4ad8c
commit 0239ffbb27
3 changed files with 20 additions and 8 deletions

View file

@ -69,6 +69,18 @@ namespace GoldbergGUI.Core.Models
public class DlcApp : SteamApp
{
public DlcApp() { }
public DlcApp(SteamApp steamApp)
{
this.AppId = steamApp.AppId;
this.Name = steamApp.Name;
this.ComparableName = steamApp.ComparableName;
this.AppType = steamApp.AppType;
this.LastModified = steamApp.LastModified;
this.PriceChangeNumber = steamApp.PriceChangeNumber;
}
/// <summary>
/// Path to DLC (relative to Steam API DLL) (optional)
/// </summary>