mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
fix more anys
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import { CityName } from "src/Locations/data/CityNames";
|
||||
import { NetscriptContext } from "src/Netscript/APIWrapper";
|
||||
import { IPort } from "src/NetscriptPort";
|
||||
import { CityName } from "../Locations/data/CityNames";
|
||||
import { NetscriptContext } from "../Netscript/APIWrapper";
|
||||
import { IPort } from "../NetscriptPort";
|
||||
import { IPlayer } from "../PersonObjects/IPlayer";
|
||||
import { Server } from "../Server/Server";
|
||||
import { BaseServer } from "../Server/BaseServer";
|
||||
import { FormulaGang } from "../Gang/formulas/formulas";
|
||||
import { GangMember } from "../Gang/GangMember";
|
||||
import { GangMemberTask } from "../Gang/GangMemberTask";
|
||||
import { BasicHGWOptions } from "../ScriptEditor/NetscriptDefinitions";
|
||||
|
||||
export interface INetscriptHelper {
|
||||
updateDynamicRam(functionName: string, ram: number): void;
|
||||
@@ -12,6 +18,11 @@ export interface INetscriptHelper {
|
||||
boolean(v: unknown): boolean;
|
||||
getServer(ip: string, ctx: NetscriptContext): BaseServer;
|
||||
checkSingularityAccess(func: string): void;
|
||||
hack(ctx: NetscriptContext, hostname: string, manual: boolean): Promise<number>;
|
||||
hack(ctx: NetscriptContext, hostname: string, manual: boolean, extra?: BasicHGWOptions): Promise<number>;
|
||||
getValidPort(funcName: string, port: number): IPort;
|
||||
player(funcName: string, p: unknown): IPlayer;
|
||||
server(funcName: string, s: unknown): Server;
|
||||
gang(funcName: string, g: unknown): FormulaGang;
|
||||
gangMember(funcName: string, m: unknown): GangMember;
|
||||
gangTask(funcName: string, m: unknown): GangMemberTask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user