Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.Game.EntityComponents.MyResourceSourceComponent

Malware edited this page Dec 25, 2018 · 42 revisions

Index

MyResourceSourceComponent Class

private public MyResourceSourceComponent

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

**Inheritance: **MyResourceSourceComponentBase

Example

Remarks

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