mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
993 B
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:
The WorkStats applied every game cycle (200ms) by performing the specified company work.