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

VRage.Game.Components.MyResourceSourceComponentBase

Malware edited this page Dec 13, 2025 · 43 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace Index

MyResourceSourceComponentBase Class

public abstract class MyResourceSourceComponentBase: MyEntityComponentBase, IMyComponentBase, IMyEntityComponentBase

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

Inheritance: MyEntityComponentBase prohibited

Implements:

  • IMyComponentBase prohibited
  • IMyEntityComponentBase prohibited

Inheritors:

Methods

float CurrentOutputByType(MyDefinitionId resourceTypeId)

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

float DefinedOutputByType(MyDefinitionId resourceTypeId)

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

float MaxOutputByType(MyDefinitionId resourceTypeId)

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

bool ProductionEnabledByType(MyDefinitionId resourceTypeId)

Resource production is enabled

Clone this wiki locally