Refactor world simulation and API to enhance world state management; introduce StoredWorldDto for internal bookkeeping, improve synchronization between simulation and API data, and implement new simulation options for idle and catch-up behavior. Update documentation to reflect changes in data structures and API endpoints.
This commit is contained in:
@@ -140,7 +140,10 @@ public sealed class WorldGenerationServiceTests : IDisposable
|
||||
generator,
|
||||
_store,
|
||||
new ChunkExporter(),
|
||||
new WorldSimulationHost(_store, NullLogger<WorldSimulationHost>.Instance),
|
||||
new WorldSimulationHost(
|
||||
_store,
|
||||
Options.Create(new SimulationOptions()),
|
||||
NullLogger<WorldSimulationHost>.Instance),
|
||||
Options.Create(new WorldStorageOptions
|
||||
{
|
||||
RootDirectory = _root,
|
||||
@@ -150,7 +153,7 @@ public sealed class WorldGenerationServiceTests : IDisposable
|
||||
NullLogger<WorldGenerationService>.Instance);
|
||||
}
|
||||
|
||||
private static WorldSummaryDto Summary(string id, string name) => new()
|
||||
private static StoredWorldDto Summary(string id, string name) => new()
|
||||
{
|
||||
Id = id,
|
||||
Name = name,
|
||||
|
||||
Reference in New Issue
Block a user