Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.Game.EntityComponents.MyResourceSourceComponent

Morten Aune Lyrstad edited this page Apr 16, 2022 · 43 revisions

IndexNamespace Index

MyResourceSourceComponent Class

public class MyResourceSourceComponent: MyResourceSourceComponentBase

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

Inheritance: MyEntityComponentBase ˃ MyResourceSourceComponentBase

Methods

Member Description
float CurrentOutputByType(MyDefinitionId) Currently used power output of the producer in MW or litres/h.

Inherited from MyResourceSourceComponentBase
float DefinedOutputByType(MyDefinitionId) Max resource output defined in definition in MW or litres/h.

Inherited from MyResourceSourceComponentBase
float MaxOutputByType(MyDefinitionId) Maximum power output of the producer in MW or litres/h.

Inherited from MyResourceSourceComponentBase
bool ProductionEnabledByType(MyDefinitionId) Resource production is enabled

Inherited from MyResourceSourceComponentBase

Clone this wiki locally