Added Title and Identifier as fields of ModPackage

This commit is contained in:
penev92
2023-02-21 23:58:58 +02:00
committed by Matthias Mailänder
parent d0285b058b
commit c5aee7b2cf
5 changed files with 64 additions and 22 deletions

View File

@@ -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);
}