bitburner-src/markdown/bitburner.warehouseapi.exportmaterial.md
Olivier Gagnon c915cd06d8 corp doc
2021-12-08 20:03:22 -05:00

897 B

Home > bitburner > WarehouseAPI > exportMaterial

WarehouseAPI.exportMaterial() method

Set material export data

Signature:

exportMaterial(
    sourceDivision: string,
    sourceCity: string,
    targetDivision: string,
    targetCity: string,
    materialName: string,
    amt: number,
  ): void;

Parameters

Parameter Type Description
sourceDivision string Source division
sourceCity string Source city
targetDivision string Target division
targetCity string Target city
materialName string Name of the material
amt number Amount of material to export.

Returns:

void