Show / Hide Table of Contents

Class ElectrocutionAttemptEvent

Inheritance
System.Object
ElectrocutionAttemptEvent
Implements
IInventoryRelayEvent
Namespace: Content.Shared.Electrocution
Assembly: Content.Shared.dll
Syntax
public sealed class ElectrocutionAttemptEvent : CancellableEntityEventArgs, IInventoryRelayEvent

Constructors

| Improve this Doc View Source

ElectrocutionAttemptEvent(EntityUid, Nullable<EntityUid>, Single, SlotFlags)

Declaration
public ElectrocutionAttemptEvent(EntityUid targetUid, EntityUid? sourceUid, float siemensCoefficient, SlotFlags targetSlots)
Parameters
Type Name Description
EntityUid targetUid
System.Nullable<EntityUid> sourceUid
System.Single siemensCoefficient
SlotFlags targetSlots

Fields

| Improve this Doc View Source

SiemensCoefficient

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

SourceUid

Declaration
public readonly EntityUid? SourceUid
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

TargetUid

Declaration
public readonly EntityUid TargetUid
Field Value
Type Description
EntityUid

Properties

| Improve this Doc View Source

TargetSlots

Declaration
public SlotFlags TargetSlots { get; }
Property Value
Type Description
SlotFlags

Implements

IInventoryRelayEvent
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾