mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
fb1f95c26e
See PR #271 description
859 B
859 B
Home > bitburner > WorkFormulas > companyGains
WorkFormulas.companyGains() method
Signature:
companyGains(person: Person, companyName: string, workType: JobName | `${JobName}`, favor: number): WorkStats;
Parameters
Parameter | Type | Description |
---|---|---|
person | Person | |
companyName | string | |
workType | JobName | `${JobName}` | |
favor | number |
Returns:
The WorkStats applied every game cycle (200ms) by performing the specified company work.