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 SourcePower
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 |
SpawnPrototype
The prototype ID used to spawn a singularity.
Declaration
public string? SpawnPrototype
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
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 |