using System.Numerics; using Robust.Shared.Serialization; namespace Content.Shared.Weapons.Melee.Events; /// /// Data for melee lunges from attacks. /// [Serializable, NetSerializable] public sealed class MeleeLungeEvent : EntityEventArgs { public NetEntity Entity; /// /// The weapon used. /// public NetEntity Weapon; /// /// Width of the attack angle. /// public Angle Angle; /// /// The relative local position to the /// public Vector2 LocalPos; /// /// Entity to spawn for the animation /// public string? Animation; public MeleeLungeEvent(NetEntity entity, NetEntity weapon, Angle angle, Vector2 localPos, string? animation) { Entity = entity; Weapon = weapon; Angle = angle; LocalPos = localPos; Animation = animation; } }