mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
909 B
909 B
Home > bitburner > OfficeAPI > hireEmployee
OfficeAPI.hireEmployee() method
Hire an employee.
Signature:
hireEmployee(divisionName: string, city: CityName | `${CityName}`, employeePosition?: CorpEmployeePosition): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
divisionName | string | Name of the division |
city | CityName | `${CityName}` | Name of the city |
employeePosition | CorpEmployeePosition | (Optional) Position to place into. Defaults to "Unassigned". |
Returns:
boolean
True if an employee was hired, false otherwise