mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 19:43:49 +01:00
690 B
690 B
Home > bitburner > NS > getResetInfo
NS.getResetInfo() method
Get information about resets.
Signature:
getResetInfo(): ResetInfo;
Returns:
Remarks
RAM cost: 1 GB
Example
const resetInfo = ns.getResetInfo();
const lastAugReset = resetInfo.lastAugReset;
ns.tprint(`The last augmentation reset was: ${new Date(lastAugReset)}`);
ns.tprint(`It has been ${Date.now() - lastAugReset} ms since the last augmentation reset.`);