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
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```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,
|
2023-06-07 19:48:23 +02:00
|
|
|
amt: number | string,
|
2022-10-21 17:16:00 +02:00
|
|
|
): 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 |
|
2023-06-07 19:48:23 +02:00
|
|
|
| amt | number \| string | Amount of material to export. |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
|