mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
33 lines
691 B
Markdown
33 lines
691 B
Markdown
<!-- 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.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getTaskStats(name: string): GangTaskStats;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | string | Name of the task. |
|
|
|
|
**Returns:**
|
|
|
|
[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.
|
|
|