6
2026-01-24 12:49:55 +03: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;
}
}