Files
tbd-station-14/Content.Shared/Weapons/Melee/Events/LightAttackEvent.cs
2023-09-11 09:42:41 +10:00

21 lines
518 B
C#

using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Melee.Events;
/// <summary>
/// Raised when a light attack is made.
/// </summary>
[Serializable, NetSerializable]
public sealed class LightAttackEvent : AttackEvent
{
public readonly NetEntity? Target;
public readonly NetEntity Weapon;
public LightAttackEvent(NetEntity? target, NetEntity weapon, NetCoordinates coordinates) : base(coordinates)
{
Target = target;
Weapon = weapon;
}
}