bitburner-src/markdown/bitburner.gangformulas.moneygain.md

29 lines
957 B
Markdown
Raw Normal View History

2021-12-09 00:19:30 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2021-12-09 01:19:07 +01:00
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [moneyGain](./bitburner.gangformulas.moneygain.md)
2021-12-09 00:19:30 +01:00
2021-12-09 01:19:07 +01:00
## GangFormulas.moneyGain() method
2021-12-09 00:19:30 +01:00
Calculate money gain per tick.
2021-12-09 00:19:30 +01:00
<b>Signature:</b>
```typescript
2021-12-09 01:19:07 +01:00
moneyGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
2021-12-09 00:19:30 +01:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | Gang info from [getGangInformation](./bitburner.gang.getganginformation.md) |
| member | [GangMemberInfo](./bitburner.gangmemberinfo.md) | Member info from [getMemberInformation](./bitburner.gang.getmemberinformation.md) |
| task | [GangTaskStats](./bitburner.gangtaskstats.md) | Task info from [getTaskStats](./bitburner.gang.gettaskstats.md) |
2021-12-09 00:19:30 +01:00
<b>Returns:</b>
number
The calculated money gain.