using Content.Shared.Weapons.Ranged.Components;
using Content.Shared.Weapons.Ranged.Systems;
using Robust.Shared.Audio;
namespace Content.Shared.Weapons.Ranged;
///
/// Wrapper around a magazine (handled via ItemSlot). Passes all AmmoProvider logic onto it.
///
[RegisterComponent, Virtual]
[Access(typeof(SharedGunSystem))]
public partial class MagazineAmmoProviderComponent : AmmoProviderComponent
{
[ViewVariables(VVAccess.ReadWrite), DataField("soundAutoEject")]
public SoundSpecifier? SoundAutoEject = new SoundPathSpecifier("/Audio/Weapons/Guns/EmptyAlarm/smg_empty_alarm.ogg");
///
/// Should the magazine automatically eject when empty.
///
[ViewVariables(VVAccess.ReadWrite), DataField("autoEject")]
public bool AutoEject = false;
}