Align Aetheria live provider contracts

This commit is contained in:
Meta Vens 2026-07-14 00:50:13 +01:00
commit a45c3f9801
11 changed files with 44 additions and 22 deletions

View file

@ -20,6 +20,11 @@ internal static class AetheriaDaemonZoneGenerator
.Where(value => !string.IsNullOrWhiteSpace(value))
.OrderBy(value => value, StringComparer.Ordinal)
.ToArray();
if (corporationKeys.Length == 0)
{
throw new InvalidDataException(
"Terminus generation requires at least one typed corporation with a stable corporation key.");
}
var homeZones = corporationKeys.ToDictionary(value => value, _ => 0, StringComparer.Ordinal);
var availabilityFactions = new Dictionary<string, string>(StringComparer.Ordinal)
{