mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
add some preliminary vfx work
This commit is contained in:
parent
4226f2e16d
commit
8459fe8f25
11 changed files with 217 additions and 26 deletions
|
|
@ -27,9 +27,9 @@ namespace MareSynchronos.Models
|
|||
public bool HasFileReplacement => GamePaths.Count >= 1 && GamePaths.Any(p => p != ResolvedPath);
|
||||
|
||||
public string Hash { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public string ResolvedPath { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public void SetResolvedPath(string path)
|
||||
{
|
||||
ResolvedPath = path.ToLowerInvariant().Replace('/', '\\').Replace(_penumbraDirectory, "").Replace('\\', '/');
|
||||
|
|
@ -93,6 +93,7 @@ namespace MareSynchronos.Models
|
|||
|
||||
try
|
||||
{
|
||||
Logger.Debug("Adding new file to DB: " + fi.FullName + ", " + hash);
|
||||
db.Add(new FileCache()
|
||||
{
|
||||
Hash = hash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue