2021-12-09 00:19:30 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [assignJob](./bitburner.officeapi.assignjob.md)
|
|
|
|
|
|
|
|
## OfficeAPI.assignJob() method
|
|
|
|
|
2021-12-09 02:03:22 +01:00
|
|
|
Assign an employee to a job.
|
|
|
|
|
2021-12-09 00:19:30 +01:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2022-08-17 14:50:05 +02:00
|
|
|
assignJob(divisionName: string, cityName: string, employeeName: string, job: string): void;
|
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 |
|
|
|
|
| employeeName | string | name of the employee |
|
|
|
|
| job | string | Name of the job. |
|
2021-12-09 00:19:30 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2022-08-17 14:50:05 +02:00
|
|
|
void
|
2021-12-09 02:03:22 +01:00
|
|
|
|