Use typed thermal curves in properties panel

This commit is contained in:
Meta Vens 2026-06-14 03:20:13 +01:00
commit 66c4acf97d
159 changed files with 467 additions and 282 deletions

View file

@ -45,7 +45,8 @@ internal static class AetheriaRuntimeCatalogSnapshotMapper
item.WeaponFireTypes,
item.WeaponModifiers,
item.MinimumTemperature,
item.MaximumTemperature);
item.MaximumTemperature,
item.ThermalPerformanceCurveKeys.Select(FromState).ToArray());
}
private static AetheriaRuntimeShapeCell FromState(AetheriaShapeCell cell)
@ -53,6 +54,11 @@ internal static class AetheriaRuntimeCatalogSnapshotMapper
return new AetheriaRuntimeShapeCell(cell.X, cell.Y);
}
private static AetheriaRuntimeCurveKey FromState(AetheriaCurveKey key)
{
return new AetheriaRuntimeCurveKey(key.Time, key.Value, key.InTangent, key.OutTangent);
}
private static AetheriaRuntimeBehaviorPayload FromState(AetheriaBehaviorPayload payload)
{
return new AetheriaRuntimeBehaviorPayload(