GettingUsedAttemptEvent.cs 361 B

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