Files
crystall-punk-14/Content.Server/Electrocution/Components/ElectrocutionComponent.cs

19 lines
465 B
C#
Raw Permalink Normal View History

namespace Content.Server.Electrocution;
/// <summary>
/// Component for virtual electrocution entities (representing an in-progress shock).
/// </summary>
[RegisterComponent]
[Access(typeof(ElectrocutionSystem))]
public sealed partial class ElectrocutionComponent : Component
{
[DataField("electrocuting")]
public EntityUid Electrocuting;
[DataField("source")]
public EntityUid Source;
[DataField("timeLeft")]
public float TimeLeft;
}