Show / Hide Table of Contents

Class PortableGeneratorComponentBuiState

Contains network state for the portable generator.

Inheritance
System.Object
PortableGeneratorComponentBuiState
Namespace: Content.Shared.Power.Generator
Assembly: Content.Shared.dll
Syntax
public sealed class PortableGeneratorComponentBuiState : BoundUserInterfaceState

Constructors

| Improve this Doc View Source

PortableGeneratorComponentBuiState(FuelGeneratorComponent, Single, Boolean)

Declaration
public PortableGeneratorComponentBuiState(FuelGeneratorComponent component, float remainingFuel, bool clogged)
Parameters
Type Name Description
FuelGeneratorComponent component
System.Single remainingFuel
System.Boolean clogged

Fields

| Improve this Doc View Source

Clogged

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

MaximumPower

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

On

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

OptimalPower

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

RemainingFuel

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

TargetPower

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