Class PowerSupplierComponent
Inheritance
System.Object
PowerSupplierComponent
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
|
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
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
Overrides
Content.Server.Power.Components.BaseNetConnectorComponent<Content.Server.Power.NodeGroups.IBasePowerNet>.RemoveSelfFromNet(Content.Server.Power.NodeGroups.IBasePowerNet)
Implements