bitburner-src/markdown/bitburner.bladeburner.getblackoprank.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

35 lines
882 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
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.
Returns the rank required to complete this BlackOp.
Returns -1 if an invalid action is specified.
<b>Signature:</b>
```typescript
getBlackOpRank(name: BladeburnerBlackOps): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of BlackOp. Must be an exact match. |
<b>Returns:</b>
number
Rank required to complete this BlackOp.
## Remarks
RAM cost: 2 GB