Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (18 loc) · 762 Bytes

bitburner.singularity.getfactionenemies.md

File metadata and controls

32 lines (18 loc) · 762 Bytes

Home > bitburner > Singularity > getFactionEnemies

Singularity.getFactionEnemies() method

Get a list of enemies of a faction.

Signature:

getFactionEnemies(faction: string): string[];

Parameters

Parameter Type Description
faction string Name of faction.

Returns:

string[]

Array containing the names of all enemies of the 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.