API: Add API break utilities, and add an API break for bladeburner.getCurrentAction (#1248)

This commit is contained in:
Snarling
2024-05-14 19:24:03 -04:00
committed by GitHub
parent 9dc3b22919
commit 574c284321
6 changed files with 131 additions and 12 deletions

View File

@@ -3070,12 +3070,9 @@ export interface Bladeburner {
* @remarks
* RAM cost: 1 GB
*
* Returns an object that represents the players current Bladeburner action.
* If the player is not performing an action, the function will return an object with the type property set to “Idle”.
*
* @returns Object that represents the players current Bladeburner action.
* @returns Object that represents the players current Bladeburner action, or null if no action is being performed.
*/
getCurrentAction(): BladeburnerCurAction;
getCurrentAction(): BladeburnerCurAction | null;
/**
* Get the time to complete an action.