mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
work on doc
This commit is contained in:
33
markdown/bitburner.gang.setmembertask.md
Normal file
33
markdown/bitburner.gang.setmembertask.md
Normal file
@@ -0,0 +1,33 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [setMemberTask](./bitburner.gang.setmembertask.md)
|
||||
|
||||
## Gang.setMemberTask() method
|
||||
|
||||
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
|
||||
|
||||
Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”).
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
setMemberTask(memberName: string, taskName: GangTasks): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| memberName | string | Name of Gang member to assign. |
|
||||
| taskName | [GangTasks](./bitburner.gangtasks.md) | Task to assign. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
boolean
|
||||
|
||||
True if the Gang Member was successfully assigned to the task, false otherwise.
|
||||
|
||||
## Remarks
|
||||
|
||||
2 GB
|
||||
|
||||
Reference in New Issue
Block a user