mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
1.0 KiB
1.0 KiB
Home > bitburner > WarehouseAPI > exportMaterial
WarehouseAPI.exportMaterial() method
Set material export data.
Signature:
exportMaterial(
sourceDivision: string,
sourceCity: CityName,
targetDivision: string,
targetCity: CityName,
materialName: CorpMaterialName,
amt: number | string,
): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| sourceDivision | string | Source division |
| sourceCity | CityName | Source city |
| targetDivision | string | Target division |
| targetCity | CityName | Target city |
| materialName | CorpMaterialName | Name of the material |
| amt | number | string | Amount of material to export. |
Returns:
void
Remarks
RAM cost: 20 GB