2022-10-21 17:16:00 +02: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
|
|
|
|
|
|
|
|
Set material export data
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
exportMaterial(
|
|
|
|
sourceDivision: string,
|
2022-12-30 02:28:53 +01:00
|
|
|
sourceCity: CityName | `${CityName}`,
|
2022-10-21 17:16:00 +02:00
|
|
|
targetDivision: string,
|
2022-12-30 02:28:53 +01:00
|
|
|
targetCity: CityName | `${CityName}`,
|
2022-10-21 17:16:00 +02:00
|
|
|
materialName: string,
|
|
|
|
amt: number,
|
|
|
|
): void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| sourceDivision | string | Source division |
|
2022-12-30 02:28:53 +01:00
|
|
|
| sourceCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Source city |
|
2022-10-21 17:16:00 +02:00
|
|
|
| targetDivision | string | Target division |
|
2022-12-30 02:28:53 +01:00
|
|
|
| targetCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Target city |
|
2022-10-21 17:16:00 +02:00
|
|
|
| materialName | string | Name of the material |
|
|
|
|
| amt | number | Amount of material to export. |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
void
|
|
|
|
|