Class BasePowerNet<TNetType>
Inheritance
System.Object
BasePowerNet<TNetType>
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
|
Improve this Doc
View Source
PowerNetSystem
Declaration
public PowerNetSystem PowerNetSystem
Field Value
|
Improve this Doc
View Source
Suppliers
Declaration
public readonly List<PowerSupplierComponent> Suppliers
Field Value
Properties
|
Improve this Doc
View Source
NetworkNode
Declaration
public PowerState.Network NetworkNode { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddConsumer(PowerConsumerComponent)
Declaration
public void AddConsumer(PowerConsumerComponent consumer)
Parameters
|
Improve this Doc
View Source
AddSupplier(PowerSupplierComponent)
Declaration
public void AddSupplier(PowerSupplierComponent supplier)
Parameters
|
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
|
Improve this Doc
View Source
RemoveSupplier(PowerSupplierComponent)
Declaration
public void RemoveSupplier(PowerSupplierComponent supplier)
Parameters
Implements