Files
Delta-v/Content.Shared/_DV/Body/Components/AffectedByCPRComponent.cs
T
Sir WarockandTobias Berger ebe9f2bf10 Add CPR (#4649)
* 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
2025-11-18 09:30:50 +00:00

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;
}