2024-01-26 02:02:28 +01:00
|
|
|
using Ryujinx.Ava.UI.ViewModels;
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
namespace Ryujinx.Ava.UI.Models
|
|
|
|
{
|
|
|
|
public class ModModel : BaseModel
|
|
|
|
{
|
|
|
|
private bool _enabled;
|
|
|
|
|
|
|
|
public bool Enabled
|
|
|
|
{
|
|
|
|
get => _enabled;
|
|
|
|
set
|
|
|
|
{
|
|
|
|
_enabled = value;
|
|
|
|
OnPropertyChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-29 23:14:19 +01:00
|
|
|
public bool InSd { get; }
|
2024-01-26 02:02:28 +01:00
|
|
|
public string Path { get; }
|
|
|
|
public string Name { get; }
|
|
|
|
|
2024-01-29 23:14:19 +01:00
|
|
|
public ModModel(string path, string name, bool enabled, bool inSd)
|
2024-01-26 02:02:28 +01:00
|
|
|
{
|
|
|
|
Path = path;
|
|
|
|
Name = name;
|
|
|
|
Enabled = enabled;
|
2024-01-29 23:14:19 +01:00
|
|
|
InSd = inSd;
|
2024-01-26 02:02:28 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|