emp on electro supercritical (#15235)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-04-24 00:11:23 +00:00
committed by GitHub
parent 6ae0a1ee86
commit 8e5183445f
2 changed files with 11 additions and 0 deletions

View File

@@ -38,4 +38,10 @@ public sealed class ElectricityAnomalyComponent : Component
/// </summary>
[DataField("nextSecond", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan NextSecond = TimeSpan.Zero;
/// <summary>
/// Energy consumed from devices by the emp pulse upon going supercritical.
/// <summary>
[DataField("empEnergyConsumption"), ViewVariables(VVAccess.ReadWrite)]
public float EmpEnergyConsumption = 100000f;
}