mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
IPVGO: Bugfixes (#1193)
* IPVGO: Explicitly link the generated API documentation in the algorithm design doc * IPVGO: Fix missing factions in netscript docs * IPVGO: Linting * IPVGO: Ensure resetBoardState() logs that a new game has started
This commit is contained in:
committed by
GitHub
parent
8553bcb8fc
commit
fe87f1f628
13
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
13
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3926,7 +3926,14 @@ export interface Gang {
|
||||
}
|
||||
|
||||
/** @public */
|
||||
type GoOpponent = "Netburners" | "Slum Snakes" | "The Black Hand" | "Tetrads" | "Daedalus" | "Illuminati";
|
||||
type GoOpponent =
|
||||
| "Netburners"
|
||||
| "Slum Snakes"
|
||||
| "The Black Hand"
|
||||
| "Tetrads"
|
||||
| "Daedalus"
|
||||
| "Illuminati"
|
||||
| "????????????";
|
||||
|
||||
/**
|
||||
* IPvGO api
|
||||
@@ -4035,7 +4042,7 @@ export interface Go {
|
||||
/**
|
||||
* Returns the name of the opponent faction in the current subnet.
|
||||
*/
|
||||
getOpponent(): GoOpponent | "No AI" | "????????????";
|
||||
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.
|
||||
@@ -4044,7 +4051,7 @@ export interface Go {
|
||||
*
|
||||
* Note that some factions will have a few routers on the subnet at this state.
|
||||
*
|
||||
* opponent is "Netburners" or "Slum Snakes" or "The Black Hand" or "Daedalus" or "Illuminati",
|
||||
* opponent is "Netburners" or "Slum Snakes" or "The Black Hand" or "Tetrads" or "Daedalus" or "Illuminati" or "????????????",
|
||||
*
|
||||
* @returns a simplified version of the board state as an array of strings representing the board columns. See ns.Go.getBoardState() for full details
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user