mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
30 lines
785 B
Markdown
30 lines
785 B
Markdown
<!-- 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
|
|
|
|
Assign an employee to a job.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
assignJob(divisionName: string, cityName: string, employeeName: string, job: string): Promise<void>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| divisionName | string | Name of the division |
|
|
| cityName | string | Name of the city |
|
|
| employeeName | string | name of the employee |
|
|
| job | string | Name of the job. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<void>
|
|
|
|
A promise that is fulfilled when the assignment is complete.
|
|
|