mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
VERSION: Begin 2.6.0 dev cycle (#992)
This commit is contained in:
13
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
13
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -1,7 +1,5 @@
|
||||
/** All netscript definitions */
|
||||
|
||||
import { opponents } from "../Go/boardState/goConstants";
|
||||
|
||||
/** @public */
|
||||
interface HP {
|
||||
current: number;
|
||||
@@ -1043,6 +1041,9 @@ export type SleeveTask =
|
||||
| SleeveSupportTask
|
||||
| SleeveSynchroTask;
|
||||
|
||||
/** @public */
|
||||
type GoOpponent = "Netburners" | "Slum Snakes" | "The Black Hand" | "Tetrads" | "Daedalus" | "Illuminati";
|
||||
|
||||
/** Object representing a port. A port is a serialized queue.
|
||||
* @public */
|
||||
export interface NetscriptPort {
|
||||
@@ -3882,9 +3883,8 @@ export interface Go {
|
||||
|
||||
/**
|
||||
* Returns the name of the opponent faction in the current subnet.
|
||||
* "Netburners" | "Slum Snakes" | "The Black Hand" | "Tetrads" | "Daedalus" | "Illuminati"
|
||||
*/
|
||||
getOpponent(): opponents;
|
||||
getOpponent(): GoOpponent | "No AI" | "????????????";
|
||||
|
||||
/**
|
||||
* Gets new IPvGO subnet with the specified size owned by the listed faction, ready for the player to make a move.
|
||||
@@ -3900,10 +3900,7 @@ export interface Go {
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
*/
|
||||
resetBoardState(
|
||||
opponent: "Netburners" | "Slum Snakes" | "The Black Hand" | "Tetrads" | "Daedalus" | "Illuminati",
|
||||
boardSize: 5 | 7 | 9 | 13,
|
||||
): string[] | undefined;
|
||||
resetBoardState(opponent: GoOpponent, boardSize: 5 | 7 | 9 | 13): string[] | undefined;
|
||||
|
||||
/**
|
||||
* Tools to analyze the IPvGO subnet.
|
||||
|
||||
Reference in New Issue
Block a user