mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-09-19 20:38:42 +02:00
18 lines
485 B
Markdown
18 lines
485 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Go](./bitburner.go.md) > [getOpponent](./bitburner.go.getopponent.md)
|
|
|
|
## Go.getOpponent() method
|
|
|
|
Returns the name of the opponent faction in the current subnet. "Netburners" \| "Slum Snakes" \| "The Black Hand" \| "Tetrads" \| "Daedalus" \| "Illuminati"
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getOpponent(): opponents;
|
|
```
|
|
**Returns:**
|
|
|
|
opponents
|
|
|