-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from IsaacMarovitz/mod-manager
Mod manager
- Loading branch information
Showing
13 changed files
with
759 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.