IMyProductionBlockAddQueueItem Method (MyDefinitionId, Decimal) |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Adds a blueprint to the production queue
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void AddQueueItem(
MyDefinitionId blueprint,
decimal amount
)
Sub AddQueueItem (
blueprint As MyDefinitionId,
amount As Decimal
)
void AddQueueItem(
MyDefinitionId blueprint,
Decimal amount
)
abstract AddQueueItem :
blueprint : MyDefinitionId *
amount : decimal -> unit
Parameters
- blueprint
- Type: MyDefinitionId
A MyDefinitionId that names the blueprint - amount
- Type: SystemDecimal
Amount of items
See Also