Allow mounted IFolders to be queried.

This commit is contained in:
Paul Chote
2013-05-19 19:14:20 +12:00
parent be3b18057a
commit de3d4da000
5 changed files with 21 additions and 28 deletions

View File

@@ -17,8 +17,7 @@ namespace OpenRA.FileFormats
public class Folder : IFolder
{
readonly string path;
int priority;
readonly int priority;
// Create a new folder package
public Folder(string path, int priority, Dictionary<string, byte[]> contents)
@@ -65,11 +64,8 @@ namespace OpenRA.FileFormats
return File.Exists(Path.Combine(path, filename));
}
public int Priority
{
get { return priority; }
}
public int Priority { get { return priority; } }
public string Name { get { return path; } }
public void Write(Dictionary<string, byte[]> contents)
{