Sandbox.Game.EntityComponents.MyResourceSourceComponent - bimbam2103/space_engineers GitHub Wiki

IndexNamespace Index

MyResourceSourceComponent Class

public class MyResourceSourceComponent: MyResourceSourceComponentBase

Namespace: Sandbox.Game.EntityComponents
Assembly: Sandbox.Game.dll

Inheritance: MyEntityComponentBase prohibited ˃ MyResourceSourceComponentBase

Methods

float CurrentOutputByType(MyDefinitionId resourceTypeId)

Currently used power output of the producer in MW or litres/h.

Inherited from MyResourceSourceComponentBase

float DefinedOutputByType(MyDefinitionId resourceTypeId)

Max resource output defined in definition in MW or litres/h.

Inherited from MyResourceSourceComponentBase

float MaxOutputByType(MyDefinitionId resourceTypeId)

Maximum power output of the producer in MW or litres/h.

Inherited from MyResourceSourceComponentBase

bool ProductionEnabledByType(MyDefinitionId resourceTypeId)

Resource production is enabled

Inherited from MyResourceSourceComponentBase

⚠️ **GitHub.com Fallback** ⚠️