bitburner-src/doc/source/netscript/sleeveapi/workForFaction.rst
2019-03-17 18:15:10 -07:00

10 lines
466 B
ReStructuredText

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.