Store map packages in MapPreview.

This commit is contained in:
Paul Chote
2016-02-20 17:50:04 +00:00
parent 226081d379
commit d492c23a6d
12 changed files with 102 additions and 103 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenRA
MapCache cache;
public readonly string Uid;
public string Path { get; private set; }
public IReadOnlyPackage Package { get; private set; }
public string Title { get; private set; }
public string Type { get; private set; }
@@ -126,7 +126,7 @@ namespace OpenRA
yaml = new MiniYaml(null, MiniYaml.FromStream(yamlStream, "map.yaml")).ToDictionary();
}
Path = p.Name;
Package = p;
GridType = gridType;
Class = classification;