Class HitscanPrototype
Inheritance
System.Object
HitscanPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Assembly: Content.Shared.dll
Syntax
public sealed class HitscanPrototype : object, IPrototype, IShootable
Fields
|
Improve this Doc
View Source
CollisionMask
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Damage
Declaration
public DamageSpecifier Damage
Field Value
|
Improve this Doc
View Source
ForceSound
Force the hitscan sound to play rather than potentially playing the entity's sound.
Declaration
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
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
|
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