Show / Hide Table of Contents

Class PowerNet

Inheritance
System.Object
BaseNodeGroup
BaseNetConnectorNodeGroup<IPowerNet>
BasePowerNet<IPowerNet>
PowerNet
Implements
INodeGroup
IPowerNet
IBasePowerNet
Namespace: Content.Server.Power.NodeGroups
Assembly: Content.Server.dll
Syntax
public sealed class PowerNet : BasePowerNet<IPowerNet>, INodeGroup, IPowerNet, IBasePowerNet

Fields

| Improve this Doc View Source

Chargers

Declaration
public readonly List<BatteryChargerComponent> Chargers
Field Value
Type Description
List<BatteryChargerComponent>
| Improve this Doc View Source

Dischargers

Declaration
public readonly List<BatteryDischargerComponent> Dischargers
Field Value
Type Description
List<BatteryDischargerComponent>

Methods

| Improve this Doc View Source

AddCharger(BatteryChargerComponent)

Declaration
public void AddCharger(BatteryChargerComponent charger)
Parameters
Type Name Description
BatteryChargerComponent charger
| Improve this Doc View Source

AddDischarger(BatteryDischargerComponent)

Declaration
public void AddDischarger(BatteryDischargerComponent discharger)
Parameters
Type Name Description
BatteryDischargerComponent discharger
| Improve this Doc View Source

AfterRemake(IEnumerable<IGrouping<INodeGroup, Node>>)

Declaration
public override void AfterRemake(IEnumerable<IGrouping<INodeGroup, Node>> newGroups)
Parameters
Type Name Description
IEnumerable<IGrouping<INodeGroup, Node>> newGroups
Overrides
BaseNodeGroup.AfterRemake(IEnumerable<IGrouping<INodeGroup, Node>>)
| Improve this Doc View Source

GetDebugData()

Declaration
public override string? GetDebugData()
Returns
Type Description
System.Nullable<System.String>
Overrides
BaseNodeGroup.GetDebugData()
| Improve this Doc View Source

Initialize(Node, IEntityManager)

Declaration
public override void Initialize(Node sourceNode, IEntityManager entMan)
Parameters
Type Name Description
Node sourceNode
IEntityManager entMan
Overrides
Content.Server.Power.NodeGroups.BasePowerNet<Content.Server.Power.NodeGroups.IPowerNet>.Initialize(Content.Server.NodeContainer.Nodes.Node, IEntityManager)
| Improve this Doc View Source

QueueNetworkReconnect()

Declaration
public override void QueueNetworkReconnect()
Overrides
Content.Server.Power.NodeGroups.BasePowerNet<Content.Server.Power.NodeGroups.IPowerNet>.QueueNetworkReconnect()
| Improve this Doc View Source

RemoveCharger(BatteryChargerComponent)

Declaration
public void RemoveCharger(BatteryChargerComponent charger)
Parameters
Type Name Description
BatteryChargerComponent charger
| Improve this Doc View Source

RemoveDischarger(BatteryDischargerComponent)

Declaration
public void RemoveDischarger(BatteryDischargerComponent discharger)
Parameters
Type Name Description
BatteryDischargerComponent discharger
| Improve this Doc View Source

SetNetConnectorNet(IBaseNetConnectorComponent<IPowerNet>)

Declaration
protected override void SetNetConnectorNet(IBaseNetConnectorComponent<IPowerNet> netConnectorComponent)
Parameters
Type Name Description
IBaseNetConnectorComponent<IPowerNet> netConnectorComponent
Overrides
Content.Server.Power.NodeGroups.BaseNetConnectorNodeGroup<Content.Server.Power.NodeGroups.IPowerNet>.SetNetConnectorNet(Content.Server.Power.Components.IBaseNetConnectorComponent<Content.Server.Power.NodeGroups.IPowerNet>)

Implements

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