bitburner-src/src/Netscript/Environment.ts
Snarling aa80cf6451 See description
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00

18 lines
473 B
TypeScript

import { NS } from "../ScriptEditor/NetscriptDefinitions";
/**
* The environment in which a script runs. The environment holds
* Netscript functions and arguments for that script.
*/
export class Environment {
/** Whether or not the script that uses this Environment should stop running */
stopFlag = false;
/** The currently running function */
runningFn = "";
/** Environment variables (currently only Netscript functions) */
vars: NS | null = null;
}