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

951 B

Home > bitburner > GangFormulas > moneyGain

GangFormulas.moneyGain() method

Calculate money gain per tick.

Signature:

moneyGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;

Parameters

Parameter Type Description
gang GangGenInfo Gang info from getGangInformation
member GangMemberInfo Member info from getMemberInformation
task GangTaskStats Task info from getTaskStats

Returns:

number

The calculated money gain.