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

29 lines
727 B
Markdown
Raw Normal View History

2022-01-13 19:48:54 +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; [getUpgradeWarehouseCost](./bitburner.warehouseapi.getupgradewarehousecost.md)
## WarehouseAPI.getUpgradeWarehouseCost() method
Gets the cost to upgrade a warehouse to the next level
<b>Signature:</b>
```typescript
2022-08-17 14:50:05 +02:00
getUpgradeWarehouseCost(adivisionName: string, acityName: string, amt?: number): number;
2022-01-13 19:48:54 +01:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2022-08-17 14:50:05 +02:00
| adivisionName | string | |
| acityName | string | |
2022-05-24 14:12:49 +02:00
| amt | number | amount of upgrades defaults to 1 |
2022-01-13 19:48:54 +01:00
<b>Returns:</b>
number
cost to upgrade