Show / Hide Table of Contents

Class CartridgeAmmoComponent

Spawns another prototype to be shot instead of itself.

Inheritance
System.Object
AmmoComponent
CartridgeAmmoComponent
Implements
IShootable
Namespace: Content.Shared.Weapons.Ranged.Components
Assembly: Content.Shared.dll
Syntax
public sealed class CartridgeAmmoComponent : AmmoComponent, IShootable

Fields

| Improve this Doc View Source

Count

How many prototypes are spawned when shot.

Declaration
public int Count
Field Value
Type Description
System.Int32
| Improve this Doc View Source

DeleteOnSpawn

Caseless ammunition.

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

EjectSound

Declaration
public SoundSpecifier EjectSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

Prototype

Declaration
public string Prototype
Field Value
Type Description
System.String
| Improve this Doc View Source

Spent

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

Spread

How much the ammo spreads when shot, in degrees. Does nothing if count is 0.

Declaration
public Angle Spread
Field Value
Type Description
Angle

Implements

IShootable
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾