mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 15:12:27 +01:00
33 lines
637 B
Markdown
33 lines
637 B
Markdown
<!-- 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
|
|
|
|
Get chaos of a city.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getCityChaos(name: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | string | |
|
|
|
|
<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.
|
|
|