mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
fb1f95c26e
See PR #271 description
919 B
919 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