17 lines
609 B
C#
17 lines
609 B
C#
namespace Content.Server.Electrocution
|
|
{
|
|
/// <summary>
|
|
/// Component for virtual electrocution entities (representing an in-progress shock).
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(ElectrocutionSystem))]
|
|
public sealed class ElectrocutionComponent : Component
|
|
{
|
|
[DataField("timeLeft")] public float TimeLeft { get; set; }
|
|
[DataField("electrocuting")] public EntityUid Electrocuting { get; set; }
|
|
[DataField("accumDamage")] public float AccumulatedDamage { get; set; }
|
|
[DataField("source")] public EntityUid Source { get; set; }
|
|
|
|
}
|
|
}
|