aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs
blob: 5f3ca0317414c53a3aaa2b1c74fa5764906f5f3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using Ryujinx.Ava.Ui.ViewModels;

namespace Ryujinx.Ava.Ui.Models
{
    public class DownloadableContentModel : BaseModel
    {
        private bool _enabled;

        public bool Enabled
        {
            get => _enabled;
            set
            {
                _enabled = value;

                OnPropertyChanged();
            }
        }

        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;
        }
    }
}