bitburner-src/doc/source/netscript/bladeburnerapi/switchCity.rst
2021-03-12 02:51:56 -05:00

17 lines
382 B
ReStructuredText

switchCity() Netscript Function
===============================
.. js:function:: switchCity(cityName)
:RAM cost: 4 GB
:param string cityName: Name of city
:returns: ``true`` if successful.
Attempts to switch to the specified city (for Bladeburner only).
Example:
.. code-block:: javascript
bladeburner.switchCity("Sector-12"); // returns: true