Added Title and Identifier as fields of ModPackage
This commit is contained in:
committed by
Matthias Mailänder
parent
d0285b058b
commit
c5aee7b2cf
@@ -21,6 +21,7 @@ namespace OpenRA
|
||||
public class ModPackage
|
||||
{
|
||||
public readonly string Title;
|
||||
public readonly string Identifier;
|
||||
public readonly string[] TestFiles = Array.Empty<string>();
|
||||
public readonly string[] Sources = Array.Empty<string>();
|
||||
public readonly bool Required;
|
||||
@@ -28,7 +29,6 @@ namespace OpenRA
|
||||
|
||||
public ModPackage(MiniYaml yaml)
|
||||
{
|
||||
Title = yaml.Value;
|
||||
FieldLoader.Load(this, yaml);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user