mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
fb1f95c26e
See PR #271 description
927 B
927 B
Home > bitburner > OfficeAPI > setAutoJobAssignment
OfficeAPI.setAutoJobAssignment() method
Set the auto job assignment for a job
Signature:
setAutoJobAssignment(divisionName: string, city: CityName | `${CityName}`, job: string, amount: number): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
divisionName | string | Name of the division |
city | CityName | `${CityName}` | Name of the city |
job | string | Name of the job |
amount | number | Number of employees to assign to that job |
Returns:
boolean
true if the employee count reached the target amount, false if not