LocationEntry.cs 732 B

12345678910111213141516171819202122232425
  1. using LibHac.FsSystem.NcaUtils;
  2. namespace Ryujinx.HLE.FileSystem.Content
  3. {
  4. public struct LocationEntry
  5. {
  6. public string ContentPath { get; private set; }
  7. public int Flag { get; private set; }
  8. public long TitleId { get; private set; }
  9. public NcaContentType ContentType { get; private set; }
  10. public LocationEntry(string contentPath, int flag, long titleId, NcaContentType contentType)
  11. {
  12. ContentPath = contentPath;
  13. Flag = flag;
  14. TitleId = titleId;
  15. ContentType = contentType;
  16. }
  17. public void SetFlag(int flag)
  18. {
  19. Flag = flag;
  20. }
  21. }
  22. }