bitburner-src/markdown/bitburner.warehouseapi.getwarehouse.md
2022-12-29 20:28:53 -05:00

28 lines
738 B
Markdown

<!-- 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; [getWarehouse](./bitburner.warehouseapi.getwarehouse.md)
## WarehouseAPI.getWarehouse() method
Get warehouse data
<b>Signature:</b>
```typescript
getWarehouse(divisionName: string, city: CityName | `${CityName}`): Warehouse;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | Name of the division |
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
<b>Returns:</b>
[Warehouse](./bitburner.warehouse.md)
warehouse data