using Robust.Shared.Map; namespace Content.Shared.Weapons.Ranged.Events; /// /// Raised on a gun when it would like to take the specified amount of ammo. /// public sealed class TakeAmmoEvent : EntityEventArgs { public EntityUid? User; public readonly int Shots; public List Ammo; /// /// Coordinates to spawn the ammo at. /// public EntityCoordinates Coordinates; public TakeAmmoEvent(int shots, List ammo, EntityCoordinates coordinates, EntityUid? user) { Shots = shots; Ammo = ammo; Coordinates = coordinates; User = user; } }