6
StarHorizon_Public/Content.Shared/Damage/Events/BeforeStaminaDamageEvent.cs
2026-01-24 12:49:55 +03:00

13 lines
385 B
C#

using Content.Shared.Inventory;
namespace Content.Shared.Damage.Events;
/// <summary>
/// Raised before stamina damage is dealt to allow other systems to cancel or modify it.
/// </summary>
[ByRefEvent]
public record struct BeforeStaminaDamageEvent(float Value, bool Cancelled = false) : IInventoryRelayEvent
{
SlotFlags IInventoryRelayEvent.TargetSlots => ~SlotFlags.POCKET;
}