Class ElectrocutionSystem
Inheritance
System.Object
ElectrocutionSystem
Assembly: Content.Server.dll
Syntax
public sealed class ElectrocutionSystem : SharedElectrocutionSystem
Methods
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
Overrides
|
Improve this Doc
View Source
TryDoElectrifiedAct(EntityUid, EntityUid, Single, ElectrifiedComponent, NodeContainerComponent, Nullable<TransformComponent>)
Declaration
public bool TryDoElectrifiedAct(EntityUid uid, EntityUid targetUid, float siemens = null, ElectrifiedComponent electrified = null, NodeContainerComponent nodeContainer = null, TransformComponent? transform = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryDoElectrocution(EntityUid, Nullable<EntityUid>, Int32, TimeSpan, Boolean, Single, StatusEffectsComponent, Boolean)
Declaration
public override bool TryDoElectrocution(EntityUid uid, EntityUid? sourceUid, int shockDamage, TimeSpan time, bool refresh, float siemensCoefficient = 1F, StatusEffectsComponent statusEffects = null, bool ignoreInsulation = false)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
System.Nullable<EntityUid> |
sourceUid |
|
System.Int32 |
shockDamage |
|
TimeSpan |
time |
|
System.Boolean |
refresh |
|
System.Single |
siemensCoefficient |
|
StatusEffectsComponent |
statusEffects |
|
System.Boolean |
ignoreInsulation |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|