mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
35 lines
721 B
Markdown
35 lines
721 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getBlackOpRank](./bitburner.bladeburner.getblackoprank.md)
|
||
|
|
||
|
## Bladeburner.getBlackOpRank() method
|
||
|
|
||
|
Get black op required rank.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getBlackOpRank(name: string): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| name | string | Name of BlackOp. Must be an exact match. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
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.
|
||
|
|