Show / Hide Table of Contents

Class PowerSupplierComponent

Inheritance
System.Object
BaseNetConnectorComponent<IBasePowerNet>
PowerSupplierComponent
Implements
IBaseNetConnectorComponent<IBasePowerNet>
Namespace: Content.Server.Power.Components
Assembly: Content.Server.dll
Syntax
public sealed class PowerSupplierComponent : BaseNetConnectorComponent<IBasePowerNet>, IBaseNetConnectorComponent<IBasePowerNet>

Properties

| Improve this Doc View Source

CurrentSupply

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

Enabled

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

MaxSupply

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

NetworkSupply

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

SupplyRampPosition

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

SupplyRampRate

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

SupplyRampTolerance

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

Methods

| Improve this Doc View Source

AddSelfToNet(IBasePowerNet)

Declaration
protected override void AddSelfToNet(IBasePowerNet powerNet)
Parameters
Type Name Description
IBasePowerNet powerNet
Overrides
Content.Server.Power.Components.BaseNetConnectorComponent<Content.Server.Power.NodeGroups.IBasePowerNet>.AddSelfToNet(Content.Server.Power.NodeGroups.IBasePowerNet)
| Improve this Doc View Source

RemoveSelfFromNet(IBasePowerNet)

Declaration
protected override void RemoveSelfFromNet(IBasePowerNet powerNet)
Parameters
Type Name Description
IBasePowerNet powerNet
Overrides
Content.Server.Power.Components.BaseNetConnectorComponent<Content.Server.Power.NodeGroups.IBasePowerNet>.RemoveSelfFromNet(Content.Server.Power.NodeGroups.IBasePowerNet)

Implements

IBaseNetConnectorComponent<TNetType>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾