Show / Hide Table of Contents

Class MagazineAmmoProviderComponent

Wrapper around a magazine (handled via ItemSlot). Passes all AmmoProvider logic onto it.

Inheritance
System.Object
AmmoProviderComponent
MagazineAmmoProviderComponent
ChamberMagazineAmmoProviderComponent
Namespace: Content.Shared.Weapons.Ranged
Assembly: Content.Shared.dll
Syntax
public class MagazineAmmoProviderComponent : AmmoProviderComponent

Fields

| Improve this Doc View Source

AutoEject

Should the magazine automatically eject when empty.

Declaration
public bool AutoEject
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

SoundAutoEject

Declaration
public SoundSpecifier SoundAutoEject
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾