Show / Hide Table of Contents

Class PowerSwitchableGeneratorComponent

Enables a generator to switch between HV and MV output.

Inheritance
System.Object
PowerSwitchableGeneratorComponent
Namespace: Content.Shared.Power.Generator
Assembly: Content.Shared.dll
Syntax
public sealed class PowerSwitchableGeneratorComponent : Component
Remarks

Must have CableDeviceNodes for both NodeOutputMV and NodeOutputHV, and also a PowerSupplierComponent.

Properties

| Improve this Doc View Source

ActiveOutput

Which output the portable generator is currently connected to.

Declaration
public PowerSwitchableGeneratorOutput ActiveOutput { get; set; }
Property Value
Type Description
PowerSwitchableGeneratorOutput
| Improve this Doc View Source

NodeOutputHV

Which node is the HV output?

Declaration
public string NodeOutputHV { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

NodeOutputMV

Which node is the MV output?

Declaration
public string NodeOutputMV { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SwitchSound

Sound that plays when the output is switched.

Declaration
public SoundSpecifier SwitchSound { get; set; }
Property Value
Type Description
Robust.Shared.Audio.SoundSpecifier
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾