Clarify units for RunningScript.*RunningTime

Most other times are specified in milliseconds, rather than the seconds used for the running time - this should be made clear in the docs.
This commit is contained in:
factubsio 2022-02-13 22:22:03 +00:00 committed by GitHub
parent 9ddb1c4379
commit 7902699f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,9 +105,11 @@ interface RunningScript {
logs: string[]; logs: string[];
offlineExpGained: number; offlineExpGained: number;
offlineMoneyMade: number; offlineMoneyMade: number;
/** Offline running time of the script, in seconds **/
offlineRunningTime: number; offlineRunningTime: number;
onlineExpGained: number; onlineExpGained: number;
onlineMoneyMade: number; onlineMoneyMade: number;
/** Online running time of the script, in seconds **/
onlineRunningTime: number; onlineRunningTime: number;
pid: number; pid: number;
ramUsage: number; ramUsage: number;