2021-10-14 09:22:02 +02:00
|
|
|
import { BaseServer } from "../Server/BaseServer";
|
|
|
|
|
2021-10-05 03:06:55 +02:00
|
|
|
export interface INetscriptHelper {
|
|
|
|
updateDynamicRam(functionName: string, ram: number): void;
|
|
|
|
makeRuntimeErrorMsg(functionName: string, message: string): void;
|
2021-10-05 04:25:21 +02:00
|
|
|
string(funcName: string, argName: string, v: any): string;
|
|
|
|
number(funcName: string, argName: string, v: any): number;
|
|
|
|
boolean(v: any): boolean;
|
2021-10-14 09:22:02 +02:00
|
|
|
getServer(ip: any, fn: any): BaseServer;
|
|
|
|
checkSingularityAccess(func: string, n: number): void;
|
2021-11-03 23:16:10 +01:00
|
|
|
hack(hostname: string, manual: boolean): Promise<number>;
|
2021-10-05 03:06:55 +02:00
|
|
|
}
|