bitburner-src/markdown/bitburner.officeapi.hireemployee.md

28 lines
672 B
Markdown
Raw Normal View History

2021-12-09 00:19:30 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md) &gt; [hireEmployee](./bitburner.officeapi.hireemployee.md)
## OfficeAPI.hireEmployee() method
2022-01-13 19:48:54 +01:00
Hire an employee.
2021-12-09 02:03:22 +01:00
2021-12-09 00:19:30 +01:00
<b>Signature:</b>
```typescript
2021-12-09 02:03:22 +01:00
hireEmployee(divisionName: string, cityName: string): Employee | undefined;
2021-12-09 00:19:30 +01:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-12-09 02:03:22 +01:00
| divisionName | string | Name of the division |
| cityName | string | Name of the city |
2021-12-09 00:19:30 +01:00
<b>Returns:</b>
2021-12-09 02:03:22 +01:00
[Employee](./bitburner.employee.md) \| undefined
The newly hired employee, if any
2021-12-09 00:19:30 +01:00