bitburner-src/markdown/bitburner.corporation.getunlockupgradecost.md

27 lines
616 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [getUnlockUpgradeCost](./bitburner.corporation.getunlockupgradecost.md)
## Corporation.getUnlockUpgradeCost() method
Gets the cost to unlock a one time unlockable upgrade
<b>Signature:</b>
```typescript
getUnlockUpgradeCost(upgradeName: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgradeName | string | Name of the upgrade |
<b>Returns:</b>
number
cost of the upgrade