Show / Hide Table of Contents

Class ProjectileComponent

Inheritance
System.Object
ProjectileComponent
Namespace: Content.Shared.Projectiles
Assembly: Content.Shared.dll
Syntax
public sealed class ProjectileComponent : Component

Fields

| Improve this Doc View Source

Damage

Declaration
public DamageSpecifier Damage
Field Value
Type Description
DamageSpecifier
| 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
public bool ForceSound
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

Weapon used to shoot.

Declaration
public EntityUid? Weapon
Field Value
Type Description
System.Nullable<EntityUid>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾