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) > [switchCity](./bitburner.bladeburner.switchcity.md)
|
|
|
|
|
|
|
|
## Bladeburner.switchCity() 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.
|
|
|
|
|
|
|
|
Attempts to switch to the specified city (for Bladeburner only).
|
|
|
|
|
|
|
|
Returns true if successful, and false otherwise
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
switchCity(name: City): boolean;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| name | [City](./bitburner.city.md) | |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
boolean
|
|
|
|
|
|
|
|
true if successful, and false otherwise
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
2021-10-30 21:46:34 +02:00
|
|
|
RAM cost: 4 GB
|
2021-10-30 18:34:14 +02:00
|
|
|
|