Show / Hide Table of Contents

Class PowerNetSystem

Manages power networks, power state, and all power components.

Inheritance
System.Object
PowerNetSystem
Namespace: Content.Server.Power.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class PowerNetSystem : EntitySystem

Methods

| Improve this Doc View Source

DestroyApcNet(ApcNet)

Declaration
public void DestroyApcNet(ApcNet apcNet)
Parameters
Type Name Description
ApcNet apcNet
| Improve this Doc View Source

DestroyPowerNet(PowerNet)

Declaration
public void DestroyPowerNet(PowerNet powerNet)
Parameters
Type Name Description
PowerNet powerNet
| Improve this Doc View Source

GetNetworkStatistics(PowerState.Network)

Declaration
public NetworkPowerStatistics GetNetworkStatistics(PowerState.Network network)
Parameters
Type Name Description
PowerState.Network network
Returns
Type Description
NetworkPowerStatistics
| Improve this Doc View Source

GetStatistics()

Declaration
public PowerStatistics GetStatistics()
Returns
Type Description
PowerStatistics
| Improve this Doc View Source

InitApcNet(ApcNet)

Declaration
public void InitApcNet(ApcNet apcNet)
Parameters
Type Name Description
ApcNet apcNet
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

InitPowerNet(PowerNet)

Declaration
public void InitPowerNet(PowerNet powerNet)
Parameters
Type Name Description
PowerNet powerNet
| Improve this Doc View Source

QueueReconnectApcNet(ApcNet)

Declaration
public void QueueReconnectApcNet(ApcNet apcNet)
Parameters
Type Name Description
ApcNet apcNet
| Improve this Doc View Source

QueueReconnectPowerNet(PowerNet)

Declaration
public void QueueReconnectPowerNet(PowerNet powerNet)
Parameters
Type Name Description
PowerNet powerNet
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾