bitburner-src/doc/source/netscript/singularityfunctions/getCompanyFavor.rst

12 lines
461 B
ReStructuredText
Raw Normal View History

getCompanyFavor() Netscript Function
====================================
.. js:function:: getCompanyFavor(companyName)
:param string companyName: Name of the company. CASE-SENSITIVE
If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function.
This function will return the amount of favor you have at the specified company.
If the company passed in as an argument is invalid, -1 will be returned.