bitburner-src/markdown/bitburner.workformulas.companygains.md

993 B

Home > bitburner > WorkFormulas > companyGains

WorkFormulas.companyGains() method

Signature:

companyGains(
    person: Person,
    companyName: CompanyName | `${CompanyName}`,
    workType: JobName | `${JobName}`,
    favor: number,
  ): WorkStats;

Parameters

Parameter Type Description
person Person
companyName CompanyName | `${CompanyName}`
workType JobName | `${JobName}`
favor number

Returns:

WorkStats

The WorkStats applied every game cycle (200ms) by performing the specified company work.