bitburner-src/markdown/bitburner.gang.gettaskstats.md

33 lines
806 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Gang](./bitburner.gang.md) &gt; [getTaskStats](./bitburner.gang.gettaskstats.md)
## 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.
<b>Signature:</b>
```typescript
getTaskStats(name: GangTasks): GangTasksStats;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | [GangTasks](./bitburner.gangtasks.md) | Name of the task. |
<b>Returns:</b>
[GangTasksStats](./bitburner.gangtasksstats.md)
Detailed stats of a task.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 1 GB
2021-10-30 18:34:14 +02:00