bitburner-src/markdown/bitburner.gangformulas.moneygain.md
Olivier Gagnon 14317628e6 formulas doc
2021-12-08 19:19:07 -05:00

29 lines
957 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [moneyGain](./bitburner.gangformulas.moneygain.md)
## GangFormulas.moneyGain() method
Calculate money gain per tick.
<b>Signature:</b>
```typescript
moneyGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
```
## 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) |
<b>Returns:</b>
number
The calculated money gain.