Make combat check CanInteract (#7046)

This commit is contained in:
Leon Friedrich
2022-03-09 19:40:07 +13:00
committed by GitHub
parent d691161542
commit 17132385d4
8 changed files with 14 additions and 30 deletions

View File

@@ -1,7 +1,12 @@
using Robust.Shared.GameObjects;
namespace Content.Shared.Interaction.Events
{
/// <summary>
/// Raised Directed at a user to check whether they are allowed to attack a target.
/// </summary>
/// <remarks>
/// Combat will also check the general interaction blockers, so this event should only be used for combat-specific
/// action blocking.
/// </remarks>
public sealed class AttackAttemptEvent : CancellableEntityEventArgs
{
public EntityUid Uid { get; }