mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-19 15:54:09 +02:00
doc for sleeve api
This commit is contained in:
committed by
danielyxie
parent
f8f4299ed5
commit
b132efbded
@@ -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.
|
||||
Reference in New Issue
Block a user