Files
tbd-station-14/Content.Shared/Weapons/Melee/Events/MeleeAttackEvent.cs
deltanedas 6db534ef86 uncloak ninja after attacking (#20892)
* raise MeleeAttackEvent on the user after swinging

* add disable bool to RevealNinja

* uncloak ninja after attacking

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-10-10 22:55:53 -04:00

8 lines
252 B
C#

namespace Content.Shared.Weapons.Melee.Events;
/// <summary>
/// Event raised on the user after attacking with a melee weapon, regardless of whether it hit anything.
/// </summary>
[ByRefEvent]
public record struct MeleeAttackEvent(EntityUid Weapon);