ninja 2 electric boogaloo (#15534)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user