mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
NETSCRIPT: Add Singularity.getFactionEnemies() (#1192)
This commit is contained in:
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -2077,6 +2077,20 @@ export interface Singularity {
|
||||
*/
|
||||
getFactionInviteRequirements(faction: string): PlayerRequirement[];
|
||||
|
||||
/**
|
||||
* Get a list of enemies of a faction.
|
||||
* @remarks
|
||||
* RAM cost: 3 GB * 16/4/1
|
||||
*
|
||||
*
|
||||
* Returns an array containing the names (as strings) of all factions
|
||||
* that are enemies of the specified faction.
|
||||
*
|
||||
* @param faction - Name of faction.
|
||||
* @returns Array containing the names of all enemies of the faction.
|
||||
*/
|
||||
getFactionEnemies(faction: string): string[];
|
||||
|
||||
/**
|
||||
* List all current faction invitations.
|
||||
* @remarks
|
||||
|
||||
Reference in New Issue
Block a user