Class CartridgeAmmoComponent
Spawns another prototype to be shot instead of itself.
Inheritance
System.Object
CartridgeAmmoComponent
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
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DeleteOnSpawn
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
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Spent
Declaration
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
Field Value
Implements