DownloadableContentModel.cs 784 B

1234567891011121314151617181920212223242526272829303132
  1. using Ryujinx.Ava.UI.ViewModels;
  2. namespace Ryujinx.Ava.UI.Models
  3. {
  4. public class DownloadableContentModel : BaseModel
  5. {
  6. private bool _enabled;
  7. public bool Enabled
  8. {
  9. get => _enabled;
  10. set
  11. {
  12. _enabled = value;
  13. OnPropertyChanged();
  14. }
  15. }
  16. public string TitleId { get; }
  17. public string ContainerPath { get; }
  18. public string FullPath { get; }
  19. public DownloadableContentModel(string titleId, string containerPath, string fullPath, bool enabled)
  20. {
  21. TitleId = titleId;
  22. ContainerPath = containerPath;
  23. FullPath = fullPath;
  24. Enabled = enabled;
  25. }
  26. }
  27. }