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

Sandbox.Game.EntityComponents.MyResourceSourceComponent

Malware edited this page Dec 21, 2018 · 43 revisions

Index

MyResourceSourceComponent Class

Namespace: Sandbox.Game.EntityComponents
Assembly: Sandbox.Game.dll
**Inheritance: **MyResourceSourceComponentBase

Properties

Member Description
CurrentOutput
MaxOutput
DefinedOutput
ProductionEnabled
RemainingCapacity
HasCapacityRemaining

Methods

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

Inherited from MyResourceSourceComponentBase
MaxOutputByType(MyDefinitionId) Maximum 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
ProductionEnabledByType(MyDefinitionId) Resource production is enabled

Inherited from MyResourceSourceComponentBase

Clone this wiki locally