2023-04-29 23:05:10 +03:00
|
|
|
|
namespace Content.Server.Electrocution;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Component for virtual electrocution entities (representing an in-progress shock).
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
|
[Access(typeof(ElectrocutionSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class ElectrocutionComponent : Component
|
2021-10-25 16:21:56 +02:00
|
|
|
|
{
|
2023-04-29 23:05:10 +03:00
|
|
|
|
[DataField("electrocuting")]
|
|
|
|
|
|
public EntityUid Electrocuting;
|
|
|
|
|
|
|
2023-10-18 14:04:47 -07:00
|
|
|
|
[DataField("source")]
|
|
|
|
|
|
public EntityUid Source;
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("timeLeft")]
|
|
|
|
|
|
public float TimeLeft;
|
2021-10-25 16:21:56 +02:00
|
|
|
|
}
|