Show / Hide Table of Contents

Class EmitterComponent

Inheritance
System.Object
EmitterComponent
Namespace: Content.Shared.Singularity.Components
Assembly: Content.Shared.dll
Syntax
public sealed class EmitterComponent : Component

Fields

| Improve this Doc View Source

BaseFireBurstDelayMax

The base maximum delay between shot bursts. Used for machine part rating calculations.

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

BaseFireBurstDelayMin

The base minimum delay between shot bursts. Used for machine part rating calculations.

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

BaseFireInterval

The base amount of time between each shot during a burst.

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

BoltType

The entity that is spawned when the emitter fires.

Declaration
public string BoltType
Field Value
Type Description
System.String
| Improve this Doc View Source

FireBurstDelayMax

The current maximum delay between bursts.

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

FireBurstDelayMin

The current minimum delay between bursts.

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

FireBurstSize

The amount of shots that are fired in a single "burst"

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

FireInterval

The time between each shot during a burst.

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

FireRateMultiplier

The multiplier for the base delay between shot bursts as well as the fire interval

Declaration
public float FireRateMultiplier
Field Value
Type Description
System.Single
| Improve this Doc View Source

FireShotCounter

counts the number of consecutive shots fired.

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

IsOn

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

IsPowered

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

MachinePartFireRate

The machine part that affects burst delay.

Declaration
public string MachinePartFireRate
Field Value
Type Description
System.String
| Improve this Doc View Source

OffPort

Signal port that turns off the emitter.

Declaration
public string OffPort
Field Value
Type Description
System.String
| Improve this Doc View Source

OnPort

Signal port that turns on the emitter.

Declaration
public string OnPort
Field Value
Type Description
System.String
| Improve this Doc View Source

OnState

The visual state that is set when the emitter is turned on

Declaration
public string? OnState
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

PowerUseActive

The current amount of power being used.

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

SelectableTypes

Declaration
public List<string> SelectableTypes
Field Value
Type Description
List<System.String>
| Improve this Doc View Source

SetTypePorts

Map of signal ports to entity prototype IDs of the entity that will be fired.

Declaration
public Dictionary<string, string> SetTypePorts
Field Value
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

TimerCancel

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

TogglePort

Signal port that toggles the emitter on or off.

Declaration
public string TogglePort
Field Value
Type Description
System.String
| Improve this Doc View Source

UnderpoweredState

The visual state that is set when the emitter doesn't have enough power.

Declaration
public string? UnderpoweredState
Field Value
Type Description
System.Nullable<System.String>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾