Refactor runtime bootstrap and ship control flows

This commit is contained in:
2026-04-03 01:12:26 -04:00
parent 0bb72bee35
commit 706e1cda8f
129 changed files with 9588 additions and 3548 deletions

View File

@@ -0,0 +1,16 @@
namespace SpaceGame.Api.Universe.Contracts;
public sealed record CreateFactionCommandRequest(
string FactionId);
public sealed record SpawnShipCommandRequest(
string FactionId,
string SystemId,
string? ShipId = null,
string? BehaviorKind = null);
public sealed record SpawnStationCommandRequest(
string FactionId,
string SystemId,
string? Objective = null,
string? Label = null);

View File

@@ -18,7 +18,6 @@ public sealed record WorldSnapshot(
IReadOnlyList<PolicySetSnapshot> Policies,
IReadOnlyList<ShipSnapshot> Ships,
IReadOnlyList<FactionSnapshot> Factions,
PlayerFactionSnapshot? PlayerFaction,
GeopoliticalStateSnapshot? Geopolitics);
public sealed record WorldDelta(
@@ -38,7 +37,6 @@ public sealed record WorldDelta(
IReadOnlyList<PolicySetDelta> Policies,
IReadOnlyList<ShipDelta> Ships,
IReadOnlyList<FactionDelta> Factions,
PlayerFactionSnapshot? PlayerFaction,
GeopoliticalStateSnapshot? Geopolitics,
ObserverScope? Scope = null);