mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:47:22 +01:00
add periodic file scanner, parallelize downloads, fix transient files being readded when not necessary, fix disposal of players on plugin shutdown
This commit is contained in:
parent
25e87e6ec2
commit
0d7e173a97
20 changed files with 641 additions and 525 deletions
|
|
@ -586,6 +586,8 @@ namespace MareSynchronos.UI
|
|||
private void DrawFileCacheSettings()
|
||||
{
|
||||
_uiShared.DrawFileScanState();
|
||||
_uiShared.DrawParallelScansSetting();
|
||||
_uiShared.DrawTimeSpanBetweenScansSetting();
|
||||
_uiShared.DrawCacheDirectorySetting();
|
||||
ImGui.Text($"Local cache size: {UiShared.ByteToString(_uiShared.FileCacheSize)}");
|
||||
ImGui.SameLine();
|
||||
|
|
@ -597,6 +599,8 @@ namespace MareSynchronos.UI
|
|||
{
|
||||
File.Delete(file);
|
||||
}
|
||||
|
||||
_uiShared.RecalculateFileCacheSize();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue