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

29 lines
692 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; [getMaterial](./bitburner.warehouseapi.getmaterial.md)
## WarehouseAPI.getMaterial() method
2021-12-09 02:03:22 +01:00
Get material data
2021-12-09 00:19:30 +01:00
<b>Signature:</b>
```typescript
getMaterial(divisionName: string, cityName: string, materialName: string): Material;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-12-09 02:03:22 +01:00
| divisionName | string | Name of the division |
2021-12-09 00:19:30 +01:00
| cityName | string | |
2021-12-09 02:03:22 +01:00
| materialName | string | Name of the material |
2021-12-09 00:19:30 +01:00
<b>Returns:</b>
[Material](./bitburner.material.md)
2021-12-09 02:03:22 +01:00
material data