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

33 lines
697 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
2021-11-03 05:27:21 +01:00
Get stats of a task.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
2021-11-03 05:33:14 +01:00
getTaskStats(name: string): GangTaskStats;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-11-03 05:27:21 +01:00
| name | string | Name of the task. |
2021-10-30 18:34:14 +02:00
<b>Returns:</b>
2021-11-03 05:33:14 +01:00
[GangTaskStats](./bitburner.gangtaskstats.md)
2021-10-30 18:34:14 +02:00
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
2021-11-03 05:27:21 +01:00
Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.