doc for sleeve api

This commit is contained in:
Olivier Gagnon
2019-03-12 19:05:38 -04:00
committed by danielyxie
parent f8f4299ed5
commit b132efbded
16 changed files with 290 additions and 0 deletions
@@ -0,0 +1,10 @@
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.