Show / Hide Table of Contents

Class GeneratorSystem

Inheritance
System.Object
SharedGeneratorSystem
GeneratorSystem
Namespace: Content.Server.Power.Generator
Assembly: Content.Server.dll
Syntax
public sealed class GeneratorSystem : SharedGeneratorSystem

Methods

| Improve this Doc View Source

EmptyGenerator(EntityUid)

Declaration
public void EmptyGenerator(EntityUid generator)
Parameters
Type Name Description
EntityUid generator
| Improve this Doc View Source

GetFuel(EntityUid)

Declaration
public float GetFuel(EntityUid generator)
Parameters
Type Name Description
EntityUid generator
Returns
Type Description
System.Single
| Improve this Doc View Source

GetIsClogged(EntityUid)

Declaration
public bool GetIsClogged(EntityUid generator)
Parameters
Type Name Description
EntityUid generator
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Initialize()

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

SetFuelGeneratorOn(EntityUid, Boolean, FuelGeneratorComponent)

Declaration
public void SetFuelGeneratorOn(EntityUid uid, bool on, FuelGeneratorComponent generator = null)
Parameters
Type Name Description
EntityUid uid
System.Boolean on
FuelGeneratorComponent generator
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime

See Also

FuelGeneratorComponent
ChemicalFuelGeneratorAdapterComponent
SolidFuelGeneratorAdapterComponent
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾