Class ProjectileComponent
Inheritance
System.Object
ProjectileComponent
Assembly: Content.Shared.dll
Syntax
public sealed class ProjectileComponent : Component
Fields
|
Improve this Doc
View Source
Damage
Declaration
public DamageSpecifier Damage
Field Value
|
Improve this Doc
View Source
DamagedEntity
Whether this projectile has already damaged an entity.
Declaration
public bool DamagedEntity
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeleteOnCollide
Declaration
public bool DeleteOnCollide
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ForceSound
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IgnoreResistances
Declaration
public bool IgnoreResistances
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IgnoreShooter
Declaration
public bool IgnoreShooter
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ImpactEffect
Declaration
public string? ImpactEffect
Field Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
OnlyCollideWhenShot
Whether this projectile will only collide with entities if it was shot from a gun (if Weapon is not null)
Declaration
public bool OnlyCollideWhenShot
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Shooter
User that shot this projectile.
Declaration
public EntityUid? Shooter
Field Value
Type |
Description |
System.Nullable<EntityUid> |
|
|
Improve this Doc
View Source
SoundHit
Declaration
public SoundSpecifier SoundHit
Field Value
Type |
Description |
Robust.Shared.Audio.SoundSpecifier |
|
|
Improve this Doc
View Source
Weapon
Declaration
Field Value
Type |
Description |
System.Nullable<EntityUid> |
|