bitburner-src/markdown/bitburner.officeapi.setautojobassignment.md
2022-01-16 16:11:52 +00:00

852 B

Home > bitburner > OfficeAPI > setAutoJobAssignment

OfficeAPI.setAutoJobAssignment() method

Set the auto job assignment for a job

Signature:

setAutoJobAssignment(divisionName: string, cityName: string, job: string, amount: number): Promise<boolean>;

Parameters

Parameter Type Description
divisionName string Name of the division
cityName string Name of the city
job string Name of the job
amount number Number of employees to assign to that job

Returns:

Promise<boolean>

A promise that is fulfilled when the assignment is complete.