2021-12-09 00:19:30 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [exportMaterial](./bitburner.warehouseapi.exportmaterial.md)
|
|
|
|
|
|
|
|
## WarehouseAPI.exportMaterial() method
|
|
|
|
|
2021-12-09 02:03:22 +01:00
|
|
|
Set material export data
|
|
|
|
|
2021-12-09 00:19:30 +01:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
exportMaterial(
|
|
|
|
sourceDivision: string,
|
|
|
|
sourceCity: string,
|
|
|
|
targetDivision: string,
|
|
|
|
targetCity: string,
|
|
|
|
materialName: string,
|
|
|
|
amt: number,
|
|
|
|
): void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2021-12-09 02:03:22 +01:00
|
|
|
| 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. |
|
2021-12-09 00:19:30 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
void
|
|
|
|
|