bitburner-src/markdown/bitburner.officeapi.setautojobassignment.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

834 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): 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:

boolean

true if the employee count reached the target amount, false if not