IMySlimBlockGetConstructionStockpileItemAmount Method |
[This is preliminary documentation and is subject to change.]
Get the amount of items in the construction stockpile
Namespace: VRage.Game.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax int GetConstructionStockpileItemAmount(
MyDefinitionId id
)
Parameters
- id
- Type: VRage.GameMyDefinitionId
Definition of component in stockpile to check
Return Value
Type:
Int32Amount of components in the stockpile of this type
See Also