CatStation/Content.Shared/Actions/Events/ActionPerformedEvent.cs
ScarKy0 1cdf296bb6
Action Requirements (#46029)
* FAILURE

* oh it was that easy

* actually this is how its supposed to be yeah

* remove mobstate and satiation

* replacements

* cleaner

* discord remarks

* refactor: extract ActionRequirementsSystem.DoCancel method, fix typo in ActionRequirementsComponent

* review

---------

Co-authored-by: Fildrance <fildrance@gmail.com>
2026-09-16 12:08:40 +00:00

9 lines
413 B
C#

namespace Content.Shared.Actions.Events;
/// <summary>
/// Raised on the action entity when it is used and <see cref="BaseActionEvent.Handled"/>.
/// </summary>
/// <param name="Performer">The entity that performed this action.</param>
/// <param name="Target">The target of the action, if any.</param>
[ByRefEvent]
public readonly record struct ActionPerformedEvent(EntityUid Performer, EntityUid? Target);