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.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void InsertQueueItem(
int idx,
MyDefinitionId blueprint,
decimal amount
)
Sub InsertQueueItem (
idx As Integer,
blueprint As MyDefinitionId,
amount As Decimal
)
void InsertQueueItem(
int idx,
MyDefinitionId blueprint,
Decimal amount
)
abstract InsertQueueItem :
idx : int *
blueprint : MyDefinitionId *
amount : decimal -> unit
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