bitburner-src/doc/source/netscript/sleeveapi/workForFaction.rst

10 lines
466 B
ReStructuredText
Raw Normal View History

2019-03-13 00:05:38 +01:00
workForFaction() Netscript Function
=======================================
.. js:function:: workForFaction(sleeveNumber, factionName, factionWorkType)
:param int sleeveNumber: index of the sleeve to work for the faction.
:param string factionName: name of the faction to work for.
:param string factionWorkType: name of the action to perform for this faction.
Return a boolean indicating whether or not the sleeve started working or this faction.