2021-10-30 18:34:14 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityChaos](./bitburner.bladeburner.getcitychaos.md)
|
|
|
|
|
|
|
|
## Bladeburner.getCityChaos() method
|
|
|
|
|
|
|
|
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.
|
|
|
|
|
|
|
|
Returns the chaos in the specified city, or -1 if an invalid city was specified.
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
getCityChaos(name: City): number;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| name | [City](./bitburner.city.md) | |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
number
|
|
|
|
|
|
|
|
Chaos in the specified city.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
2021-10-30 21:46:34 +02:00
|
|
|
RAM cost: 4 GB
|
2021-10-30 18:34:14 +02:00
|
|
|
|