Show / Hide Table of Contents

Class ParticleAcceleratorControlBoxComponent

Is the computer thing people interact with to control the PA. Also contains primary logic for actual PA behavior, part scanning, etc...

Inheritance
System.Object
ParticleAcceleratorControlBoxComponent
Namespace: Content.Server.ParticleAccelerator.Components
Assembly: Content.Server.dll
Syntax
public sealed class ParticleAcceleratorControlBoxComponent : Component

Fields

| Improve this Doc View Source

Assembled

Whether the PA parts have been correctly arranged to make a functional device.

Declaration
public bool Assembled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

BasePowerDraw

The amount of power (in watts) the PA draws just by existing as a functional machine.

Declaration
public int BasePowerDraw
Field Value
Type Description
System.Int32
| Improve this Doc View Source

CanBeEnabled

Whether the PA can be turned on. Modified by ParticleAcceleratorPowerWireAction.

Declaration
public bool CanBeEnabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

ChargeTime

Delay between consecutive PA shots.

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

CurrentlyRescanning

Block re-entrant rescanning.

Declaration
public bool CurrentlyRescanning
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Enabled

Whether the PA is currently set to fire at the console. Requires Assembled to be true.

Declaration
public bool Enabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

EndCap

Whether the PA is currently firing or charging to fire. Implies the existance of a ParticleAcceleratorEndCapComponent attached to this entity.

Declaration
public EntityUid? EndCap
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

Firing

Whether the PA is currently firing or charging to fire. Requires Powered to be true.

Declaration
public bool Firing
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

ForeEmitter

Whether the PA is currently firing or charging to fire. Implies the existance of a ParticleAcceleratorEmitterComponent attached to this entity.

Declaration
public EntityUid? ForeEmitter
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

FuelChamber

Whether the PA is currently firing or charging to fire. Implies the existance of a ParticleAcceleratorFuelChamberComponent attached to this entity.

Declaration
public EntityUid? FuelChamber
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

InterfaceDisabled

Whether the interface has been disabled via a cut wire or not. Modified by ParticleAcceleratorKeyboardWireAction.

Declaration
public bool InterfaceDisabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

LastFire

The time at which the PA last fired a wave of particles.

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

LevelPowerDraw

The amount of power (in watts) the PA draws per level when turned on.

Declaration
public int LevelPowerDraw
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MaxStrength

The maximum strength level this particle accelerator can be set to operate at. Modified by ParticleAcceleratorLimiterWireAction.

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

NextFire

The time at which the PA will next fire a wave of particles.

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

PortEmitter

Whether the PA is currently firing or charging to fire. Implies the existance of a ParticleAcceleratorEmitterComponent attached to this entity.

Declaration
public EntityUid? PortEmitter
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

PowerBox

The power supply unit of the assembled particle accelerator. Implies the existance of a ParticleAcceleratorPowerBoxComponent attached to this entity.

Declaration
public EntityUid? PowerBox
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

Powered

Whether the PA actually has the power necessary to fire. Requires Enabled to be true.

Declaration
public bool Powered
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

RequiredPowerRatio

The amount of power the particle accelerator must be provided with relative to the expected power draw to function.

Declaration
public const float RequiredPowerRatio = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

SelectedStrength

Whether the PA is currently firing or charging to fire. Bounded by Standby and MaxStrength. Modified by ParticleAcceleratorStrengthWireAction.

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

StarboardEmitter

Whether the PA is currently firing or charging to fire. Implies the existance of a ParticleAcceleratorEmitterComponent attached to this entity.

Declaration
public EntityUid? StarboardEmitter
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

StrengthLocked

Whether the ability to change the strength of the PA has been disabled via a cut wire or not. Modified by ParticleAcceleratorStrengthWireAction.

Declaration
public bool StrengthLocked
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾