mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
13 lines
529 B
TypeScript
13 lines
529 B
TypeScript
import { BaseServer } from "../Server/BaseServer";
|
|
|
|
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;
|
|
getServer(ip: any, fn: any): BaseServer;
|
|
checkSingularityAccess(func: string, n: number): void;
|
|
hack(hostname: string, manual: boolean): Promise<number>;
|
|
}
|