Show / Hide Table of Contents

Class Electrocute

Inheritance
System.Object
ReagentEffect
Electrocute
Namespace: Content.Server.Chemistry.ReagentEffects
Assembly: Content.Server.dll
Syntax
public sealed class Electrocute : ReagentEffect

Fields

| Improve this Doc View Source

ElectrocuteDamageScale

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

ElectrocuteTime

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

Refresh

Declaration
public bool Refresh
Field Value
Type Description
System.Boolean
Remarks

true - refresh electrocute time, false - accumulate electrocute time

Properties

| Improve this Doc View Source

ShouldLog

Declaration
public override bool ShouldLog { get; }
Property Value
Type Description
System.Boolean
Overrides
ReagentEffect.ShouldLog

Methods

| Improve this Doc View Source

Effect(ReagentEffectArgs)

Declaration
public override void Effect(ReagentEffectArgs args)
Parameters
Type Name Description
Content.Shared.Chemistry.Reagent.ReagentEffectArgs args
| Improve this Doc View Source

ReagentEffectGuidebookText(IPrototypeManager, IEntitySystemManager)

Declaration
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
Parameters
Type Name Description
Robust.Shared.Prototypes.IPrototypeManager prototype
IEntitySystemManager entSys
Returns
Type Description
System.Nullable<System.String>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾