Assembly: VRage.Game.dll

public interface IMyResourceDistributorComponent

ModAPI interface giving access to resource distributor

Events

Member Description
OnPowerGenerationChanged Called when power generation status changed

Properties

Member Description
ResourceState Gets current resource state
SourcesEnabled Gets if first found resources has enabled ResourceSource

Methods

Member Description
MaxAvailableResourceByType(MyDefinitionId, IMyCubeGrid) Gets maximum resource available by resource type
TotalRequiredInputByType(MyDefinitionId, IMyCubeGrid) Gets currently needed resource by resource type

Inheritors: