mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Mod Edit Window: Highlight paths of files on player
This commit is contained in:
parent
43c6b52d0b
commit
18d38a9974
5 changed files with 45 additions and 14 deletions
|
|
@ -10,6 +10,7 @@ public class FileRegistry : IEquatable<FileRegistry>
|
|||
public Utf8RelPath RelPath { get; private init; }
|
||||
public long FileSize { get; private init; }
|
||||
public int CurrentUsage;
|
||||
public bool IsOnPlayer;
|
||||
|
||||
public static bool FromFile(DirectoryInfo modPath, FileInfo file, [NotNullWhen(true)] out FileRegistry? registry)
|
||||
{
|
||||
|
|
@ -26,6 +27,7 @@ public class FileRegistry : IEquatable<FileRegistry>
|
|||
RelPath = relPath,
|
||||
FileSize = file.Length,
|
||||
CurrentUsage = 0,
|
||||
IsOnPlayer = false,
|
||||
};
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue