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

26 lines
617 B
Markdown
Raw Normal View History

2021-12-09 00:19:30 +01:00
<!-- 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; [buyMaterial](./bitburner.warehouseapi.buymaterial.md)
## WarehouseAPI.buyMaterial() method
<b>Signature:</b>
```typescript
buyMaterial(divisionName: string, cityName: string, materialName: string, amt: number): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
| materialName | string | |
| amt | number | |
<b>Returns:</b>
void