mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
SINGULARITY: Added aug and node identifiers (timestamps of last resets) (#472)
This commit is contained in:
20
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
20
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -52,8 +52,6 @@ interface Player extends Person {
|
||||
factions: string[];
|
||||
bitNodeN: number;
|
||||
totalPlaytime: number;
|
||||
playtimeSinceLastAug: number;
|
||||
playtimeSinceLastBitnode: number;
|
||||
location: string;
|
||||
}
|
||||
|
||||
@@ -2363,6 +2361,24 @@ export interface Singularity {
|
||||
* @returns - An object representing the current work. Fields depend on the kind of work.
|
||||
*/
|
||||
getCurrentWork(): any | null;
|
||||
|
||||
/**
|
||||
* Get the last timestamp from when you installed augmentations.
|
||||
* @remarks
|
||||
* RAM cost: 0.5 GB * 16/4/1
|
||||
*
|
||||
* @returns The timestamp in milliseconds from your last augmentation install.
|
||||
*/
|
||||
getLastAugReset(): number;
|
||||
|
||||
/**
|
||||
* Get the last timestamp from when you finished a bitnode.
|
||||
* @remarks
|
||||
* RAM cost: 0.5 GB * 16/4/1
|
||||
*
|
||||
* @returns The timestamp in milliseconds from your last bitnode finish.
|
||||
*/
|
||||
getLastNodeReset(): number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user