Show / Hide Table of Contents

Class HitscanPrototype

Inheritance
System.Object
HitscanPrototype
Implements
Robust.Shared.Prototypes.IPrototype
IShootable
Namespace: Content.Shared.Weapons.Ranged
Assembly: Content.Shared.dll
Syntax
public sealed class HitscanPrototype : object, IPrototype, IShootable

Fields

| Improve this Doc View Source

CollisionMask

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

Damage

Declaration
public DamageSpecifier Damage
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

ForceSound

Force the hitscan sound to play rather than potentially playing the entity's sound.

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

ImpactFlash

Declaration
public SpriteSpecifier ImpactFlash
Field Value
Type Description
Robust.Shared.Utility.SpriteSpecifier
| Improve this Doc View Source

MaxLength

Try not to set this too high.

Declaration
public float MaxLength
Field Value
Type Description
System.Single
| Improve this Doc View Source

MuzzleFlash

Declaration
public SpriteSpecifier MuzzleFlash
Field Value
Type Description
Robust.Shared.Utility.SpriteSpecifier
| Improve this Doc View Source

Reflective

What we count as for reflection.

Declaration
public ReflectType Reflective
Field Value
Type Description
ReflectType
| Improve this Doc View Source

Sound

Sound that plays upon the thing being hit.

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

StaminaDamage

Declaration
public float StaminaDamage
Field Value
Type Description
System.Single
| Improve this Doc View Source

TravelFlash

Declaration
public SpriteSpecifier TravelFlash
Field Value
Type Description
Robust.Shared.Utility.SpriteSpecifier

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String

Implements

Robust.Shared.Prototypes.IPrototype
IShootable
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾