Files
wwdpublic/Content.Shared/Interaction/Events/GettingAttackedAttemptEvent.cs
DrSmugleaf 2b06a478cf Add more info to GettingAttackedAttemptEvent (#28548)
(cherry picked from commit def04cdaf52ee4e39fe269d3a92d94d02e1e3dc0)
2025-10-04 12:51:32 +03:00

8 lines
276 B
C#

namespace Content.Shared.Interaction.Events;
/// <summary>
/// Raised directed on the target entity when being attacked.
/// </summary>
[ByRefEvent]
public record struct GettingAttackedAttemptEvent(EntityUid Attacker, EntityUid? Weapon, bool Disarm, bool Cancelled = false);