Show / Hide Table of Contents

Class BasePowerNet<TNetType>

Inheritance
System.Object
BaseNodeGroup
BaseNetConnectorNodeGroup<TNetType>
BasePowerNet<TNetType>
ApcNet
PowerNet
Implements
INodeGroup
IBasePowerNet
Namespace: Content.Server.Power.NodeGroups
Assembly: Content.Server.dll
Syntax
public abstract class BasePowerNet<TNetType> : BaseNetConnectorNodeGroup<TNetType>, INodeGroup, IBasePowerNet where TNetType : IBasePowerNet
Type Parameters
Name Description
TNetType

Fields

| Improve this Doc View Source

Consumers

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

PowerNetSystem

Declaration
public PowerNetSystem PowerNetSystem
Field Value
Type Description
PowerNetSystem
| Improve this Doc View Source

Suppliers

Declaration
public readonly List<PowerSupplierComponent> Suppliers
Field Value
Type Description
List<PowerSupplierComponent>

Properties

| Improve this Doc View Source

NetworkNode

Declaration
public PowerState.Network NetworkNode { get; }
Property Value
Type Description
PowerState.Network

Methods

| Improve this Doc View Source

AddConsumer(PowerConsumerComponent)

Declaration
public void AddConsumer(PowerConsumerComponent consumer)
Parameters
Type Name Description
PowerConsumerComponent consumer
| Improve this Doc View Source

AddSupplier(PowerSupplierComponent)

Declaration
public void AddSupplier(PowerSupplierComponent supplier)
Parameters
Type Name Description
PowerSupplierComponent supplier
| 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.BaseNetConnectorNodeGroup<TNetType>.Initialize(Content.Server.NodeContainer.Nodes.Node, IEntityManager)
| Improve this Doc View Source

QueueNetworkReconnect()

Declaration
public abstract void QueueNetworkReconnect()
| Improve this Doc View Source

RemoveConsumer(PowerConsumerComponent)

Declaration
public void RemoveConsumer(PowerConsumerComponent consumer)
Parameters
Type Name Description
PowerConsumerComponent consumer
| Improve this Doc View Source

RemoveSupplier(PowerSupplierComponent)

Declaration
public void RemoveSupplier(PowerSupplierComponent supplier)
Parameters
Type Name Description
PowerSupplierComponent supplier

Implements

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