Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 914 Bytes

File metadata and controls

32 lines (21 loc) · 914 Bytes

Home > bitburner > OfficeAPI > hireEmployee

OfficeAPI.hireEmployee() method

Hire an employee.

Signature:

hireEmployee(
    divisionName: string,
    cityName: string,
    employeePosition?: EmployeePositions | `${EmployeePositions}`,
  ): boolean;

Parameters

Parameter Type Description
divisionName string Name of the division
cityName string Name of the city
employeePosition EmployeePositions | `${EmployeePositions}` Position to place into. Defaults to "Unassigned".

Returns:

boolean

True if an employee was hired, false otherwise