mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-21 06:15:54 +01:00
31 lines
600 B
C#
31 lines
600 B
C#
|
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();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public string Path { get; }
|
||
|
public string Name { get; }
|
||
|
|
||
|
public ModModel(string path, string name, bool enabled)
|
||
|
{
|
||
|
Path = path;
|
||
|
Name = name;
|
||
|
Enabled = enabled;
|
||
|
}
|
||
|
}
|
||
|
}
|