Update DownloadManager.cs
This commit is contained in:
parent
a50be5b869
commit
6b6125eb09
@ -56,13 +56,7 @@ namespace RageCoop.Client
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
public static string ResourceFolder
|
public static string ResourceFolder => Path.GetFullPath(Path.Combine(Main.Settings.DataDirectory, "Resources", Main.Settings.LastServerAddress.Replace(":", ".")));
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return Path.Combine(Main.Settings.DataDirectory, "Resources", Main.Settings.LastServerAddress.Replace(":", "."));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private static readonly Dictionary<int, DownloadFile> InProgressDownloads = new Dictionary<int, DownloadFile>();
|
private static readonly Dictionary<int, DownloadFile> InProgressDownloads = new Dictionary<int, DownloadFile>();
|
||||||
private static readonly HashSet<string> _resources = new HashSet<string>();
|
private static readonly HashSet<string> _resources = new HashSet<string>();
|
||||||
public static bool AddFile(int id, string name, long length)
|
public static bool AddFile(int id, string name, long length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user