mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
cacecda72f
* API: Add types for parameters of gym-university-bladeburner API * Fix merging error
35 lines
788 B
Markdown
35 lines
788 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.
|
|
|
|
**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.
|
|
|