mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
fb1f95c26e
See PR #271 description
1.1 KiB
1.1 KiB
Home > bitburner > WarehouseAPI > exportMaterial
WarehouseAPI.exportMaterial() method
Set material export data
Signature:
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 | `${CityName}` | Source city |
targetDivision | string | Target division |
targetCity | CityName | `${CityName}` | Target city |
materialName | string | Name of the material |
amt | number | Amount of material to export. |
Returns:
void