Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.12 KB

bitburner.warehouseapi.exportmaterial.md

File metadata and controls

40 lines (28 loc) · 1.12 KB

Home > bitburner > WarehouseAPI > exportMaterial

WarehouseAPI.exportMaterial() method

Set material export data.

Signature:

exportMaterial(
    sourceDivision: string,
    sourceCity: CityName | `${CityName}`,
    targetDivision: string,
    targetCity: CityName | `${CityName}`,
    materialName: string,
    amt: number | string,
  ): void;

Parameters

Parameter Type Description
sourceDivision string Source division
sourceCity CityName | `${CityName}` Source city
targetDivision string Target division
targetCity CityName | `${CityName}` Target city
materialName string Name of the material
amt number | string Amount of material to export.

Returns:

void

Remarks

RAM cost: 20 GB