Persist resource scanner state in typed snapshots

This commit is contained in:
Meta Vens 2026-06-14 16:01:36 +01:00
commit 2239d15a38
11 changed files with 138 additions and 8 deletions

View file

@ -498,7 +498,13 @@ public static class AetheriaRuntimeCommitLogApplier
AetherDriveRpmZ = state.AetherDriveRpmZ,
AetherDriveMaximumRpm = state.AetherDriveMaximumRpm,
AetherDriveThrustDirectionX = state.AetherDriveThrustDirectionX,
AetherDriveThrustDirectionY = state.AetherDriveThrustDirectionY
AetherDriveThrustDirectionY = state.AetherDriveThrustDirectionY,
ResourceScannerTargetBodyId = state.ResourceScannerTargetBodyId ?? "",
ResourceScannerAsteroidIndex = state.ResourceScannerAsteroidIndex,
ResourceScannerScanTime = state.ResourceScannerScanTime,
ResourceScannerRange = state.ResourceScannerRange,
ResourceScannerMinimumDensity = state.ResourceScannerMinimumDensity,
ResourceScannerScanDuration = state.ResourceScannerScanDuration
})
.ToArray();
}