LocationEntry.cs 791 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using LibHac;
  5. namespace Ryujinx.HLE.FileSystem.Content
  6. {
  7. public struct LocationEntry
  8. {
  9. public string ContentPath { get; private set; }
  10. public int Flag { get; private set; }
  11. public long TitleId { get; private set; }
  12. public ContentType ContentType { get; private set; }
  13. public LocationEntry(string ContentPath, int Flag, long TitleId, ContentType ContentType)
  14. {
  15. this.ContentPath = ContentPath;
  16. this.Flag = Flag;
  17. this.TitleId = TitleId;
  18. this.ContentType = ContentType;
  19. }
  20. public void SetFlag(int Flag)
  21. {
  22. this.Flag = Flag;
  23. }
  24. }
  25. }