mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
33 lines
856 B
Markdown
33 lines
856 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
|
|
|
|
Get the cost to upgrade an office.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getOfficeSizeUpgradeCost(divisionName: string, city: CityName | `${CityName}`, size: 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 |
|
|
| size | number | Amount of positions to open |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Cost of upgrading the office
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 10 GB
|
|
|