Refactor world bootstrap and allow empty startup worlds
This commit is contained in:
14
apps/backend/Universe/Bootstrap/IStaticDataProvider.cs
Normal file
14
apps/backend/Universe/Bootstrap/IStaticDataProvider.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user