Files
tbd-station-14/Content.Shared/Weapons/Melee/Events/HeavyAttackEvent.cs
2023-05-01 15:07:17 -04:00

25 lines
700 B
C#

using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Melee.Events;
/// <summary>
/// Raised on the client when it attempts a heavy attack.
/// </summary>
[Serializable, NetSerializable]
public sealed class HeavyAttackEvent : AttackEvent
{
public readonly EntityUid Weapon;
/// <summary>
/// As what the client swung at will not match server we'll have them tell us what they hit so we can verify.
/// </summary>
public List<EntityUid> Entities;
public HeavyAttackEvent(EntityUid weapon, List<EntityUid> entities, EntityCoordinates coordinates) : base(coordinates)
{
Weapon = weapon;
Entities = entities;
}
}