Click or drag to resize
IMySlimBlockGetConstructionStockpileItemAmount Method

[This is preliminary documentation and is subject to change.]

Get the amount of items in the construction stockpile

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
int GetConstructionStockpileItemAmount(
	MyDefinitionId id
)

Parameters

id
Type: VRage.GameMyDefinitionId
Definition of component in stockpile to check

Return Value

Type: Int32
Amount of components in the stockpile of this type
See Also