2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [hireEmployee](./bitburner.officeapi.hireemployee.md)
|
|
|
|
|
|
|
|
## OfficeAPI.hireEmployee() method
|
|
|
|
|
|
|
|
Hire an employee.
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2022-11-20 18:07:22 +01:00
|
|
|
hireEmployee(
|
|
|
|
divisionName: string,
|
2022-12-30 02:28:53 +01:00
|
|
|
city: CityName | `${CityName}`,
|
|
|
|
employeePosition?: CorpEmployeePosition,
|
2022-11-20 18:07:22 +01:00
|
|
|
): boolean;
|
2022-10-21 17:16:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| divisionName | string | Name of the division |
|
2022-12-30 02:28:53 +01:00
|
|
|
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
|
|
|
|
| employeePosition | [CorpEmployeePosition](./bitburner.corpemployeeposition.md) | Position to place into. Defaults to "Unassigned". |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2022-11-20 18:07:22 +01:00
|
|
|
boolean
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2022-11-20 18:07:22 +01:00
|
|
|
True if an employee was hired, false otherwise
|
2022-10-21 17:16:00 +02:00
|
|
|
|