mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 22:38:34 +02:00
Merge pull request #3722 from borisflagell/FIX#2884
API: FIX#2884 Add the missing className property to Sleeve'sAPI
This commit is contained in:
15
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
15
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -1110,6 +1110,8 @@ export interface SleeveTask {
|
||||
gymStatType: string;
|
||||
/** Faction work type being performed, if any */
|
||||
factionWorkType: string;
|
||||
/** Class being taken at university, if any */
|
||||
className: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2884,7 +2886,7 @@ export interface Bladeburner {
|
||||
* @remarks
|
||||
* RAM cost: 4 GB
|
||||
*
|
||||
* Returns the number of seconds it takes to complete the specified action
|
||||
* Returns the number of milliseconds it takes to complete the specified action
|
||||
*
|
||||
* @param type - Type of action.
|
||||
* @param name - Name of action. Must be an exact match.
|
||||
@@ -2892,6 +2894,17 @@ export interface Bladeburner {
|
||||
*/
|
||||
getActionTime(type: string, name: string): number;
|
||||
|
||||
/**
|
||||
* Get the time elapsed on current action.
|
||||
* @remarks
|
||||
* RAM cost: 4 GB
|
||||
*
|
||||
* Returns the number of milliseconds already spent on the current action.
|
||||
*
|
||||
* @returns Number of milliseconds already spent on the current action.
|
||||
*/
|
||||
getActionCurrentTime(): number;
|
||||
|
||||
/**
|
||||
* Get estimate success chance of an action.
|
||||
* @remarks
|
||||
|
||||
Reference in New Issue
Block a user