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

VRage.Game.Components.MyResourceSourceComponentBase

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

IndexNamespace Index

MyResourceSourceComponentBase Class

public abstract class MyResourceSourceComponentBase: MyEntityComponentBase

Namespace: VRage.Game.Components
Assembly: VRage.Game.dll

Inheritance: MyEntityComponentBase prohibited

Inheritors:

Methods

float CurrentOutputByType(MyDefinitionId)

Currently used power output of the producer in MW or litres/h.

float DefinedOutputByType(MyDefinitionId)

Max resource output defined in definition in MW or litres/h.

float MaxOutputByType(MyDefinitionId)

Maximum power output of the producer in MW or litres/h.

bool ProductionEnabledByType(MyDefinitionId)

Resource production is enabled

Clone this wiki locally