mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
902 B
902 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 | Position to place into. Defaults to "Unassigned". |
Returns:
boolean
True if an employee was hired, false otherwise