SINGULARITY: Added aug and node identifiers (timestamps of last resets) (#472)

This commit is contained in:
G4mingJon4s
2023-04-12 19:13:42 +02:00
committed by GitHub
parent f761eed377
commit d01ba91654
14 changed files with 86 additions and 32 deletions

View File

@@ -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;
}
/**