This commit is contained in:
Olivier Gagnon
2021-11-03 00:27:21 -04:00
parent 37845c57c0
commit 2b79871c02
299 changed files with 3861 additions and 7125 deletions

View File

@@ -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.