mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
31 lines
650 B
Markdown
31 lines
650 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [setTerritoryWarfare](./bitburner.gang.setterritorywarfare.md)
|
|
|
|
## Gang.setTerritoryWarfare() method
|
|
|
|
Enable/Disable territory warfare.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
setTerritoryWarfare(engage: boolean): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| engage | boolean | Whether or not to engage in territory warfare. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
void
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 2 GB
|
|
|
|
Set whether or not the gang should engage in territory warfare
|
|
|