/ src / Ryujinx / UI / Models / ModModel.cs
ModModel.cs
 1  using Ryujinx.Ava.UI.ViewModels;
 2  using System.IO;
 3  
 4  namespace Ryujinx.Ava.UI.Models
 5  {
 6      public class ModModel : BaseModel
 7      {
 8          private bool _enabled;
 9  
10          public bool Enabled
11          {
12              get => _enabled;
13              set
14              {
15                  _enabled = value;
16                  OnPropertyChanged();
17              }
18          }
19  
20          public bool InSd { get; }
21          public string Path { get; }
22          public string Name { get; }
23  
24          public ModModel(string path, string name, bool enabled, bool inSd)
25          {
26              Path = path;
27              Name = name;
28              Enabled = enabled;
29              InSd = inSd;
30          }
31      }
32  }