2022-11-25 03:41:34 -08:00
|
|
|
|
using Ryujinx.Ava.Ui.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Ava.Ui.Models
|
2022-07-28 15:41:34 -07:00
|
|
|
|
{
|
2022-11-25 03:41:34 -08:00
|
|
|
|
public class DownloadableContentModel : BaseModel
|
2022-07-28 15:41:34 -07:00
|
|
|
|
{
|
2022-11-25 03:41:34 -08:00
|
|
|
|
private bool _enabled;
|
|
|
|
|
|
|
|
|
|
public bool Enabled
|
|
|
|
|
{
|
|
|
|
|
get => _enabled;
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_enabled = value;
|
|
|
|
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-28 15:41:34 -07:00
|
|
|
|
public string TitleId { get; }
|
|
|
|
|
public string ContainerPath { get; }
|
|
|
|
|
public string FullPath { get; }
|
|
|
|
|
|
|
|
|
|
public DownloadableContentModel(string titleId, string containerPath, string fullPath, bool enabled)
|
|
|
|
|
{
|
|
|
|
|
TitleId = titleId;
|
|
|
|
|
ContainerPath = containerPath;
|
|
|
|
|
FullPath = fullPath;
|
|
|
|
|
Enabled = enabled;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|