Class MagazineAmmoProviderComponent
Wrapper around a magazine (handled via ItemSlot). Passes all AmmoProvider logic onto it.
Inheritance
System.Object
MagazineAmmoProviderComponent
Namespace: Content.Shared.Weapons.Ranged
Assembly: Content.Shared.dll
Syntax
public class MagazineAmmoProviderComponent : AmmoProviderComponent
Fields
| Improve this Doc View SourceAutoEject
Should the magazine automatically eject when empty.
Declaration
public bool AutoEject
Field Value
Type | Description |
---|---|
System.Boolean |
SoundAutoEject
Declaration
public SoundSpecifier SoundAutoEject
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |