VRage.Game.Components.MyResourceSourceComponentBase - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index
public abstract class MyResourceSourceComponentBase: MyEntityComponentBase
Namespace: VRage.Game.Components
Assembly: VRage.Game.dll
Inheritance: MyEntityComponentBase prohibited
Inheritors:
float CurrentOutputByType(MyDefinitionId resourceTypeId)
Currently used power output of the producer in MW or litres/h.
float DefinedOutputByType(MyDefinitionId resourceTypeId)
Max resource output defined in definition in MW or litres/h.
float MaxOutputByType(MyDefinitionId resourceTypeId)
Maximum power output of the producer in MW or litres/h.
bool ProductionEnabledByType(MyDefinitionId resourceTypeId)
Resource production is enabled