bitburner-src/markdown/bitburner.gang.gettaskstats.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

806 B

Home > bitburner > Gang > getTaskStats

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.

Signature:

getTaskStats(name: GangTasks): GangTasksStats;

Parameters

Parameter Type Description
name GangTasks Name of the task.

Returns:

GangTasksStats

Detailed stats of a task.

Remarks

RAM cost: 1 GB