bitburner-src/markdown/bitburner.warehouseapi.exportmaterial.md

37 lines
897 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [WarehouseAPI](./bitburner.warehouseapi.md) &gt; [exportMaterial](./bitburner.warehouseapi.exportmaterial.md)
## WarehouseAPI.exportMaterial() method
Set material export data
<b>Signature:</b>
```typescript
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. |
<b>Returns:</b>
void