-
Notifications
You must be signed in to change notification settings - Fork 125
Sandbox.Game.EntityComponents.MyResourceSourceComponent
← Index ← Namespace Index
public class MyResourceSourceComponent: MyResourceSourceComponentBase
Namespace: Sandbox.Game.EntityComponents
Assembly: Sandbox.Game.dll
Inheritance: MyEntityComponentBase prohibited ˃ MyResourceSourceComponentBase
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
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!