6
2025-11-03 10:15:18 +03:00

9 lines
308 B
C#

namespace Content.Shared.Actions.Events;
/// <summary>
/// Raised before an action is used and can be cancelled to prevent it.
/// Allowed to have side effects like modifying the action components.
/// </summary>
[ByRefEvent]
public record struct ActionAttemptEvent(EntityUid User, bool Cancelled = false);