mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
CORPORATION: Rename setAutoJobAssignment API to setJobAssignment (#2146)
This commit is contained in:
9
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
9
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -8906,11 +8906,16 @@ export interface OfficeAPI {
|
||||
*
|
||||
* @param divisionName - Name of the division
|
||||
* @param city - Name of the city
|
||||
* @param job - Name of the job
|
||||
* @param job - Name of the job. Passing "Unassigned" will cause this API to not do anything and just return false.
|
||||
* @param amount - Number of employees to assign to that job
|
||||
* @returns true if the employee count reached the target amount, false if not
|
||||
*/
|
||||
setAutoJobAssignment(divisionName: string, city: CityName, job: string, amount: number): boolean;
|
||||
setJobAssignment(
|
||||
divisionName: string,
|
||||
city: CityName,
|
||||
job: Exclude<CorpEmployeePosition, "Unassigned">,
|
||||
amount: number,
|
||||
): boolean;
|
||||
|
||||
/**
|
||||
* Get the cost to upgrade an office.
|
||||
|
||||
Reference in New Issue
Block a user