Lint ModPackage

This commit is contained in:
Gustas
2025-07-27 21:42:50 +03:00
committed by Matthias Mailänder
parent be971c4a34
commit 32750700a4

View File

@@ -13,6 +13,7 @@ using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using OpenRA.Traits;
namespace OpenRA.Mods.Common
{
@@ -100,6 +101,7 @@ namespace OpenRA.Mods.Common
[FieldLoader.Require]
public readonly string Mod;
[IncludeFluentReferences(LintDictionaryReference.Values)]
[FieldLoader.LoadUsing(nameof(LoadPackages))]
public readonly Dictionary<string, ModPackage> Packages = [];