This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.Game.EntityComponents.MyResourceSourceComponent
Morten Aune Lyrstad edited this page Apr 16, 2022
·
43 revisions
← Index ← Namespace Index
public class MyResourceSourceComponent: MyResourceSourceComponentBaseNamespace: Sandbox.Game.EntityComponents
Assembly: Sandbox.Game.dll
Inheritance: MyEntityComponentBase ˃ MyResourceSourceComponentBase
| Member | Description |
|---|---|
| $1float CurrentOutputByType(MyDefinitionId)](VRage.Game.Components.MyResourceSourceComponentBase.CurrentOutputByType) | Currently used power output of the producer in MW or litres/h. Inherited from MyResourceSourceComponentBase |
| $1float DefinedOutputByType(MyDefinitionId)](VRage.Game.Components.MyResourceSourceComponentBase.DefinedOutputByType) | Max resource output defined in definition in MW or litres/h. Inherited from MyResourceSourceComponentBase |
| $1float MaxOutputByType(MyDefinitionId)](VRage.Game.Components.MyResourceSourceComponentBase.MaxOutputByType) | Maximum power output of the producer in MW or litres/h. Inherited from MyResourceSourceComponentBase |
| $1bool ProductionEnabledByType(MyDefinitionId)](VRage.Game.Components.MyResourceSourceComponentBase.ProductionEnabledByType) | Resource production is enabled Inherited from MyResourceSourceComponentBase |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!