mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
33 lines
738 B
Markdown
33 lines
738 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityCommunities](./bitburner.bladeburner.getcitycommunities.md)
|
|
|
|
## Bladeburner.getCityCommunities() method
|
|
|
|
Get number of communities in a city.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getCityCommunities(name: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | string | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
Number of Synthoids communities in the specified city.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified.
|
|
|