mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
802 B
802 B
Home > bitburner > Singularity > getFactionEnemies
Singularity.getFactionEnemies() method
Get a list of enemies of a faction.
Signature:
getFactionEnemies(faction: FactionName): string[];
Parameters
| Parameter | Type | Description |
|---|---|---|
| faction | FactionName | 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.