mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-09-18 20:08:32 +02:00
31 lines
611 B
Markdown
31 lines
611 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getUnlockCost](./bitburner.corporation.getunlockcost.md)
|
|
|
|
## Corporation.getUnlockCost() method
|
|
|
|
Get the cost to unlock a one-time unlockable upgrade.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getUnlockCost(upgradeName: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| upgradeName | string | Name of the upgrade |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Cost of the upgrade
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 10 GB
|
|
|