ninja 2 electric boogaloo (#15534)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-09-10 07:20:27 +01:00
committed by GitHub
parent 25c8a03276
commit 24810d916b
153 changed files with 3892 additions and 78 deletions

View File

@@ -38,6 +38,20 @@ namespace Content.Shared.Interaction
}
}
/// <summary>
/// Raised on the user before interacting on an entity with bare hand.
/// Interaction is cancelled if this event is handled, so set it to true if you do custom interaction logic.
/// </summary>
public sealed class BeforeInteractHandEvent : HandledEntityEventArgs
{
public EntityUid Target { get; }
public BeforeInteractHandEvent(EntityUid target)
{
Target = target;
}
}
/// <summary>
/// Low-level interaction event used for entities without hands.
/// </summary>