bitburner-src/doc/source/netscript/bladeburnerapi/getCityEstimatedPopulation.rst

15 lines
471 B
ReStructuredText
Raw Normal View History

getCityEstimatedPopulation() Netscript Function
===============================================
.. js:function:: getCityEstimatedPopulation(cityName)
2021-03-11 22:48:00 +01:00
:RAM cost: 4 GB
:param string cityName: Name of city. Case-sensitive
2021-03-12 08:51:56 +01:00
:returns: Estimated number of Synthoids in the specified city, or -1 if an
invalid city was specified.
Example:
.. code-block:: javascript
2021-03-12 08:51:56 +01:00
bladeburner.getCityEstimatedPopulation("Sector-12"); // returns: 1240000