mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
fb1f95c26e
See PR #271 description
37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
<!-- 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,
|
|
sourceCity: CityName | `${CityName}`,
|
|
targetDivision: string,
|
|
targetCity: CityName | `${CityName}`,
|
|
materialName: string,
|
|
amt: number,
|
|
): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| sourceDivision | string | Source division |
|
|
| sourceCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Source city |
|
|
| targetDivision | string | Target division |
|
|
| targetCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Target city |
|
|
| materialName | string | Name of the material |
|
|
| amt | number | Amount of material to export. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
void
|
|
|