mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 13:45:44 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
33 lines
692 B
Markdown
33 lines
692 B
Markdown
<!-- 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
|
|
|
|
Travel to another city in bladeburner.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
switchCity(name: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | string | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
true if successful, and false otherwise
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB Attempts to switch to the specified city (for Bladeburner only).
|
|
|
|
Returns true if successful, and false otherwise
|
|
|