Show / Hide Table of Contents

Class DefibrillatorComponent

This is used for defibrillators; a machine that shocks a dead person back into the world of the living.

Inheritance
System.Object
DefibrillatorComponent
Namespace: Content.Shared.Medical
Assembly: Content.Shared.dll
Syntax
public sealed class DefibrillatorComponent : Component

Fields

| Improve this Doc View Source

ChargeSound

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

DoAfterDuration

How long the doafter for zapping someone takes

Declaration
public TimeSpan DoAfterDuration
Field Value
Type Description
TimeSpan
Remarks

This is synced with the audio; do not change one but not the other.

| Improve this Doc View Source

Enabled

Whether or not it's turned on and able to be used.

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

FailureSound

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

NextZapTime

The time at which the zap cooldown will be completed

Declaration
public TimeSpan? NextZapTime
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

PowerOffSound

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

PowerOnSound

The sound when the defib is powered on.

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

ReadySound

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

SuccessSound

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

WritheDuration

How long the victim will be electrocuted after getting zapped.

Declaration
public TimeSpan WritheDuration
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

ZapDamage

The electrical damage from getting zapped.

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

ZapDelay

The minimum time between zaps

Declaration
public TimeSpan ZapDelay
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

ZapHeal

How much damage is healed from getting zapped.

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

ZapSound

The sound when someone is zapped.

Declaration
public SoundSpecifier ZapSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾