mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
doc
This commit is contained in:
@@ -4,25 +4,23 @@
|
||||
|
||||
## Gang.getTaskStats() method
|
||||
|
||||
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
|
||||
|
||||
Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.
|
||||
Get stats of a task.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getTaskStats(name: GangTasks): GangTasksStats;
|
||||
getTaskStats(name: string): stringStats;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| name | [GangTasks](./bitburner.gangtasks.md) | Name of the task. |
|
||||
| name | string | Name of the task. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
[GangTasksStats](./bitburner.gangtasksstats.md)
|
||||
[stringStats](./bitburner.stringstats.md)
|
||||
|
||||
Detailed stats of a task.
|
||||
|
||||
@@ -30,3 +28,5 @@ Detailed stats of a task.
|
||||
|
||||
RAM cost: 1 GB
|
||||
|
||||
Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user