Refactor world bootstrap and allow empty startup worlds

This commit is contained in:
2026-03-29 13:22:48 -04:00
parent 640e147ea8
commit 0bb72bee35
79 changed files with 173146 additions and 9235 deletions

View File

@@ -0,0 +1,14 @@
namespace SpaceGame.Api.Universe.Bootstrap;
public interface IStaticDataProvider
{
IReadOnlyList<SolarSystemDefinition> KnownSystems { get; }
IReadOnlyDictionary<string, RaceDefinition> RaceDefinitions { get; }
IReadOnlyDictionary<string, FactionDefinition> FactionDefinitions { get; }
IReadOnlyDictionary<string, ModuleDefinition> ModuleDefinitions { get; }
IReadOnlyDictionary<string, ShipDefinition> ShipDefinitions { get; }
IReadOnlyDictionary<string, ItemDefinition> ItemDefinitions { get; }
IReadOnlyDictionary<string, RecipeDefinition> Recipes { get; }
IReadOnlyDictionary<string, ModuleRecipeDefinition> ModuleRecipes { get; }
ProductionGraph ProductionGraph { get; }
}