mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02: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