extracted some of the Netscript functions into their own file.

This commit is contained in:
Olivier Gagnon
2021-10-04 22:25:21 -04:00
parent 48b839d68c
commit bb0bdb776b
6 changed files with 615 additions and 431 deletions

View File

@@ -1,4 +1,7 @@
export interface INetscriptHelper {
updateDynamicRam(functionName: string, ram: number): void;
makeRuntimeErrorMsg(functionName: string, message: string): void;
string(funcName: string, argName: string, v: any): string;
number(funcName: string, argName: string, v: any): number;
boolean(v: any): boolean;
}