API: Add ns.bladeburner.getNextBlackOp() (#815)

This commit is contained in:
missymae#2783
2023-10-17 00:18:54 -06:00
committed by GitHub
parent 7e94a8653e
commit 1007ce5e68
6 changed files with 70 additions and 1 deletions

View File

@@ -2809,6 +2809,18 @@ export interface Bladeburner {
*/
getBlackOpNames(): string[];
/**
* Get an object with the name and rank requirement of the next BlackOp that can be completed.
* @remarks
* RAM cost: 2 GB
*
* Returns the name and rank requirement for the available BlackOp.
* Returns `null` if no BlackOps remain in the BitNode.
*
* @returns An object with the `.name` and `.rank` properties of the available BlackOp, or `null`.
*/
getNextBlackOp(): { name: string; rank: number } | null;
/**
* List all general actions.
* @remarks