Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 993 Bytes

bitburner.workformulas.companygains.md

File metadata and controls

32 lines (22 loc) · 993 Bytes

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.