Files
tbd-station-14/Content.Shared/_Offbrand/Wounds/WoundableComponent.cs
Janet Blackquill 173f24590f resimmed offmed
2025-10-08 20:49:29 -04:00

25 lines
743 B
C#

using Content.Shared.Damage;
namespace Content.Shared._Offbrand.Wounds;
[RegisterComponent]
public sealed partial class WoundableComponent : Component;
/// <summary>
/// Raised on an entity to determine how much of its damage comes from wounds
/// </summary>
[ByRefEvent]
public record struct WoundGetDamageEvent(DamageSpecifier Accumulator);
/// <summary>
/// Raised before damage is applied to a Damageable but after applying modifiers
/// </summary>
[ByRefEvent]
public record struct BeforeDamageCommitEvent(DamageSpecifier Damage, bool ForceRefresh);
/// <summary>
/// Raised when the values for a damage overlay may have changed
/// </summary>
[ByRefEvent]
public record struct PotentiallyUpdateDamageOverlayEvent(EntityUid Target);