Refactor runtime bootstrap and ship control flows
This commit is contained in:
16
apps/backend/Universe/Contracts/GmCommands.cs
Normal file
16
apps/backend/Universe/Contracts/GmCommands.cs
Normal 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);
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user