mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
API: Add ns.bladeburner.getNextBlackOp() (#815)
This commit is contained in:
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user