mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
* Add CPR * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Prevent multiple CPRs * Fix small Parenthesize mistake Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Sir Warock <67167466+SirWarock@users.noreply.github.com> * Fix Name Paths * Mistake? * Merge branch 'master' into Add-CPR * Update Content.Shared/_DV/Body/Systems/CPRSystem.cs Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Sir Warock <67167466+SirWarock@users.noreply.github.com> * Fix Issues seen by Holy Toby * Small Fix
18 lines
496 B
C#
18 lines
496 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._DV.Body.Components;
|
|
|
|
/// <summary>
|
|
/// For patients currently under the effect of CPR.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class AffectedByCPRComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether or not the CPR benefits are active.
|
|
/// This turns true after the first DoAfter.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool IsActive;
|
|
}
|