Show / Hide Table of Contents

Class SingularityGeneratorComponent

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

Fields

| Improve this Doc View Source

Power

The amount of power this generator has accumulated. If you want to set this use SetPower(EntityUid, Single, SingularityGeneratorComponent)

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

SpawnPrototype

The prototype ID used to spawn a singularity.

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

Threshold

The power threshold at which this generator will spawn a singularity. If you want to set this use SetThreshold(EntityUid, Single, SingularityGeneratorComponent)

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