Click or drag to resize
IMyProductionBlockInsertQueueItem Method (Int32, MyDefinitionId, Decimal)
v01.180.0 (Beta)

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

Inserts a blueprint into the production queue

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void InsertQueueItem(
	int idx,
	MyDefinitionId blueprint,
	decimal amount
)

Parameters

idx
Type: SystemInt32
Index of the item
blueprint
Type: MyDefinitionId
A MyDefinitionId that names the blueprint
amount
Type: SystemDecimal
Amount of items
See Also