using Content.Shared.Weapons.Ranged.Components;
using Robust.Shared.Audio;
namespace Content.Shared.Weapons.Ranged;
///
/// Wrapper around a magazine (handled via ItemSlot). Passes all AmmoProvider logic onto it.
///
[RegisterComponent, Virtual]
public 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;
}