bitburner-src/markdown/bitburner.bladeburner.getcitychaos.md
2022-12-29 20:28:53 -05:00

33 lines
766 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Bladeburner](./bitburner.bladeburner.md) &gt; [getCityChaos](./bitburner.bladeburner.getcitychaos.md)
## Bladeburner.getCityChaos() method
Get chaos of a city.
<b>Signature:</b>
```typescript
getCityChaos(city: CityName | `${CityName}`): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive |
<b>Returns:</b>
number
Chaos in the specified city.
## Remarks
RAM cost: 4 GB
Returns the chaos in the specified city, or -1 if an invalid city was specified.