Files
Delta-v/Content.Shared/Interaction/Events/GettingUsedAttemptEvent.cs
ScarKy0andslarticodefast 4f985ffe72 GettingUsedAttemptEvent (#35450)
* init

* review

* doc

* Update Content.Shared/Interaction/Events/GettingUsedAttemptEvent.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-03-01 14:19:29 +00:00

11 lines
364 B
C#

namespace Content.Shared.Interaction.Events;
/// <summary>
/// Event raised on an item when attempting to use it in your hands. Cancelling it stops the interaction.
/// </summary>
/// <param name="user">The user of said item</param>
public sealed class GettingUsedAttemptEvent(EntityUid user) : CancellableEntityEventArgs
{
public EntityUid User = user;
}