Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 690 Bytes

bitburner.ns.getresetinfo.md

File metadata and controls

31 lines (19 loc) · 690 Bytes

Home > bitburner > NS > getResetInfo

NS.getResetInfo() method

Get information about resets.

Signature:

getResetInfo(): ResetInfo;

Returns:

ResetInfo

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.`);