Show / Hide Table of Contents

Class ApcPowerReceiverComponent

Attempts to link with a nearby ApcPowerProviderComponents so that it can receive power from a IApcNet.

Inheritance
System.Object
ApcPowerReceiverComponent
Namespace: Content.Server.Power.Components
Assembly: Content.Server.dll
Syntax
public sealed class ApcPowerReceiverComponent : Component

Fields

| Improve this Doc View Source

PoweredLastUpdate

Declaration
public bool? PoweredLastUpdate
Field Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

Provider

Declaration
public ApcPowerProviderComponent Provider
Field Value
Type Description
ApcPowerProviderComponent

Properties

| Improve this Doc View Source

Load

Amount of charge this needs from an APC per second to function.

Declaration
public float Load { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

NeedsPower

When false, causes this to appear powered even if not receiving power from an Apc.

Declaration
public bool NeedsPower { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

NetworkLoad

Declaration
public PowerState.Load NetworkLoad { get; }
Property Value
Type Description
PowerState.Load
| Improve this Doc View Source

PowerDisabled

When true, causes this to never appear powered.

Declaration
public bool PowerDisabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Powered

Declaration
public bool Powered { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PowerReceived

Declaration
public float PowerReceived { get; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

OnRemove()

Declaration
protected override void OnRemove()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾