Sandbox.Game.EntityComponents
MyResourceSourceComponent
Assembly: Sandbox.Game.dll
public class MyResourceSourceComponent: MyResourceSourceComponentBase, IMyComponentBase, IMyEntityComponentBase
Methods
| Member | Description |
|---|---|
| CurrentOutputByType(MyDefinitionId) | Currently used power output of the producer in MW or litres/h. Inherited from MyResourceSourceComponentBase |
| DefinedOutputByType(MyDefinitionId) | Max resource output defined in definition in MW or litres/h. Inherited from MyResourceSourceComponentBase |
| MaxOutputByType(MyDefinitionId) | Maximum power output of the producer in MW or litres/h. Inherited from MyResourceSourceComponentBase |
| ProductionEnabledByType(MyDefinitionId) | Resource production is enabled Inherited from MyResourceSourceComponentBase |
Inheritance: MyEntityComponentBase prohibited ˃ MyResourceSourceComponentBase
Implements:
- IMyComponentBase prohibited
- IMyEntityComponentBase prohibited