mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* documentation pass on content.server -> E! * APi pass on content.server for the E folder. * documentation pass on content.shared for e. * Apply suggestions from code review Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * fixing documentation according to review part 1. * typo * Very minor fixes * And a short explanation about EUI --------- Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
27 lines
686 B
C#
27 lines
686 B
C#
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
|
|
{
|
|
/// <summary>
|
|
/// The entity being electrocuted.
|
|
/// </summary>
|
|
[DataField("electrocuting")]
|
|
public EntityUid Electrocuting;
|
|
|
|
/// <summary>
|
|
/// The entity causing the electrocution.
|
|
/// </summary>
|
|
[DataField("source")]
|
|
public EntityUid Source;
|
|
|
|
/// <summary>
|
|
/// Remaining duration of the electrocution.
|
|
/// </summary>
|
|
[DataField("timeLeft")]
|
|
public float TimeLeft;
|
|
}
|