mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
856 B
856 B
Home > bitburner > OfficeAPI > getOfficeSizeUpgradeCost
OfficeAPI.getOfficeSizeUpgradeCost() method
Get the cost to upgrade an office.
Signature:
getOfficeSizeUpgradeCost(divisionName: string, city: CityName | `${CityName}`, size: number): number;
Parameters
Parameter | Type | Description |
---|---|---|
divisionName | string | Name of the division |
city | CityName | `${CityName}` | Name of the city |
size | number | Amount of positions to open |
Returns:
number
Cost of upgrading the office
Remarks
RAM cost: 10 GB