Show / Hide Table of Contents

Class ContainmentFieldGeneratorSystem

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

Methods

| Improve this Doc View Source

GridCheck(EntityUid, ContainmentFieldGeneratorComponent)

Checks to see if this or the other gens connected to a new grid. If they did, remove connection.

Declaration
public void GridCheck(EntityUid uid, ContainmentFieldGeneratorComponent component)
Parameters
Type Name Description
EntityUid uid
ContainmentFieldGeneratorComponent component
| Improve this Doc View Source

Initialize()

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

LosePower(EntityUid, Int32, ContainmentFieldGeneratorComponent)

Declaration
public void LosePower(EntityUid uid, int power, ContainmentFieldGeneratorComponent component)
Parameters
Type Name Description
EntityUid uid
System.Int32 power
ContainmentFieldGeneratorComponent component
| Improve this Doc View Source

ReceivePower(Int32, ContainmentFieldGeneratorComponent)

Stores power in the generator. If it hits the threshold, it tries to establish a connection.

Declaration
public void ReceivePower(int power, ContainmentFieldGeneratorComponent component)
Parameters
Type Name Description
System.Int32 power

The power that this generator received from the collision in Content.Server.Singularity.EntitySystems.ContainmentFieldGeneratorSystem.HandleGeneratorCollide(EntityUid,Content.Shared.Singularity.Components.ContainmentFieldGeneratorComponent,Robust.Shared.Physics.Events.StartCollideEvent@)

ContainmentFieldGeneratorComponent component
| 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

UpdateConnectionLights(ContainmentFieldGeneratorComponent)

Creates a light component for the spawned fields.

Declaration
public void UpdateConnectionLights(ContainmentFieldGeneratorComponent component)
Parameters
Type Name Description
ContainmentFieldGeneratorComponent component
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾