mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 13:15:48 +01:00
33 lines
750 B
Markdown
33 lines
750 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
|
|
|
|
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
|
|
|
|
4 GB
|
|
|