mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
15 lines
471 B
ReStructuredText
15 lines
471 B
ReStructuredText
getCityEstimatedPopulation() Netscript Function
|
|
===============================================
|
|
|
|
.. js:function:: getCityEstimatedPopulation(cityName)
|
|
|
|
:RAM cost: 4 GB
|
|
:param string cityName: Name of city. Case-sensitive
|
|
:returns: Estimated number of Synthoids in the specified city, or -1 if an
|
|
invalid city was specified.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
bladeburner.getCityEstimatedPopulation("Sector-12"); // returns: 1240000 |