bitburner-src/doc/source/netscript/sleeveapi/setToCompanyWork.rst
2021-03-07 04:37:56 -05:00

12 lines
456 B
ReStructuredText

setToCompanyWork() Netscript Function
=====================================
.. js:function:: setToCompanyWork(sleeveNumber, companyName)
:RAM cost: 4 GB
:param int sleeveNumber: Index of the sleeve to work for the company. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
:param string companyName: Name of the company to work for.
Return a boolean indicating whether or not the sleeve started working or this company.