Installer downloads now using specified IPackageLoader.
This commit is contained in:
committed by
Matthias Mailänder
parent
a9da6bb2d8
commit
fcc8f53b59
@@ -74,14 +74,17 @@ namespace OpenRA
|
||||
|
||||
public class ModDownload
|
||||
{
|
||||
public readonly ObjectCreator ObjectCreator;
|
||||
public readonly string Title;
|
||||
public readonly string URL;
|
||||
public readonly string MirrorList;
|
||||
public readonly string SHA1;
|
||||
public readonly string Type;
|
||||
public readonly Dictionary<string, string> Extract;
|
||||
|
||||
public ModDownload(MiniYaml yaml)
|
||||
public ModDownload(MiniYaml yaml, ObjectCreator objectCreator)
|
||||
{
|
||||
ObjectCreator = objectCreator;
|
||||
Title = yaml.Value;
|
||||
FieldLoader.Load(this, yaml);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user