bitburner-src/markdown/bitburner.bladeburner.getblackoprank.md
catloversg cacecda72f
API: Add types for parameters of gym-university-bladeburner API (Fix merging error) ()
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00

35 lines
788 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Bladeburner](./bitburner.bladeburner.md) &gt; [getBlackOpRank](./bitburner.bladeburner.getblackoprank.md)
## Bladeburner.getBlackOpRank() method
Get black op required rank.
**Signature:**
```typescript
getBlackOpRank(name: BladeburnerBlackOpName): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | [BladeburnerBlackOpName](./bitburner.bladeburnerblackopname.md) | Name of BlackOp. Must be an exact match. |
**Returns:**
number
Rank required to complete this BlackOp.
## Remarks
RAM cost: 2 GB
Returns the rank required to complete this BlackOp.
Returns -1 if an invalid action is specified.