mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
fb1f95c26e
See PR #271 description
29 lines
802 B
Markdown
29 lines
802 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [getOfficeSizeUpgradeCost](./bitburner.officeapi.getofficesizeupgradecost.md)
|
|
|
|
## OfficeAPI.getOfficeSizeUpgradeCost() method
|
|
|
|
Cost to Upgrade office size.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getOfficeSizeUpgradeCost(divisionName: string, city: CityName | `${CityName}`, asize: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| divisionName | string | Name of the division |
|
|
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
|
|
| asize | number | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
Cost of upgrading the office
|
|
|