2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getTaskStats](./bitburner.gang.gettaskstats.md)
|
|
|
|
|
|
|
|
## Gang.getTaskStats() method
|
|
|
|
|
|
|
|
Get stats of a task.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
getTaskStats(name: string): GangTaskStats;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| name | string | Name of the task. |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
[GangTaskStats](./bitburner.gangtaskstats.md)
|
|
|
|
|
|
|
|
Detailed stats of a task.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 1 GB
|
|
|
|
|
|
|
|
Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.
|
|
|
|
|