mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
fb1f95c26e
See PR #271 description
28 lines
738 B
Markdown
28 lines
738 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [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
|
|
|